- Move content outside public web root for security - Consolidate all code and assets in engine/ directory - Download Bootstrap locally for offline functionality - Update public/ to contain only entry point files - Add router.php for PHP development server security - Update README.md with new structure and setup instructions - Block direct access to content files via URL - Maintain clean separation between content and code
16 lines
447 B
PHP
16 lines
447 B
PHP
<?php
|
|
|
|
return [
|
|
'site_title' => 'CodePress',
|
|
'site_description' => 'A simple PHP CMS',
|
|
'base_url' => '/',
|
|
'content_dir' => __DIR__ . '/../../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'
|
|
]; |