Skip to content

Demo#60

Closed
xwmario wants to merge 6 commits intoCruelAngels:masterfrom
xwmario:demo
Closed

Demo#60
xwmario wants to merge 6 commits intoCruelAngels:masterfrom
xwmario:demo

Conversation

@xwmario
Copy link

@xwmario xwmario commented Aug 14, 2025

No description provided.

- Added app autoloader for MVC structure in autoload.php
- Configured .htaccess to route all requests through index.php
- Replaced static page rendering with dynamic router in index.php
- Initialized database access for models
- Removed legacy code for popular titles and recent updates
- Implemented error handling for routing exceptions
- Updated error documents to use router paths

This change introduces a proper MVC architecture with dynamic routing capabilities, replacing the previous static file-based approach. The .htaccess configuration now directs all non-file requests through index.php for proper route resolution.
- Added app autoloader for MVC structure in autoload.php
- Configured .htaccess to route all requests through index.php
- Replaced static page rendering with dynamic router in index.php
- Initialized database access for models
- Removed legacy code for popular titles and recent updates
- Implemented error handling for routing exceptions
- Updated error documents to use router paths

This change introduces a proper MVC architecture with dynamic routing capabilities, replacing the previous static file-based approach. The .htaccess configuration now directs all non-file requests through index.php for proper route resolution.
Added two debug scripts to help identify the cause of blank page issues:
- public/debug.php: Comprehensive debug script with checks for installation,
  autoload, app structure, templates, router, and controller
- public/debug_trace.php: Tracing script that verifies loading of all
  core components including config, funky.php, autoload, database,
  session, theme, language files, and routes

These scripts will help diagnose the root cause of the blank page problem
by providing detailed information about the application's state and
component loading sequence.
…uest support

- Modified Controller.php to use output buffering for better content rendering control
- Added HEAD method support in Router.php to handle head requests as get requests
- Created 403 and 404 error page templates for improved error handling
- Added debug_releases.php for troubleshooting release page issues
- Fixed pagination calculation in releases.php to prevent division by zero
- Added router.php for php development server routing support
added the netflix theme to the themes configuration array in config.php. also includes minor updates to database counter files.
@xwmario xwmario closed this Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant