Fix e.noorlander branch - add missing PHP files to public

- Copied index.php, config.php, and templates to public/
- e.noorlander branch now works correctly
- Personal blog content accessible again
- All branches now have proper public directory structure
This commit is contained in:
2025-11-19 14:12:43 +01:00
parent 2e5672ee60
commit 8a01d0bc99
3 changed files with 694 additions and 0 deletions

16
public/config.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
return [
'site_title' => 'CodePress',
'site_description' => 'A simple PHP CMS',
'base_url' => '/',
'content_dir' => __DIR__ . '/public/content',
'templates_dir' => __DIR__ . '/templates',
'cache_dir' => __DIR__ . '/cache',
'default_page' => 'home',
'error_404' => '404',
'markdown_enabled' => true,
'php_enabled' => true,
'bootstrap_version' => '5.3.0',
'jquery_version' => '3.7.1'
];