'home' sends / to /home // // style - single or list of css styles to load on specific routes // // js - single or list of js script to load on specific routes // // autoload - list of directories to autoload all PHP files in them // define('SITE_CONFIG', array( /* core config settings */ 'domain' => getenv("WEBSITE_HOST"), 'allowed_hosts' => explode(" ", getenv("WEBSITE_ALLOWED_HOSTS")), 'base_path' => getenv("WEBSITE_BASE_PATH"), 'theme_color' => '#181818', 'git_url' => 'https://g.freya.cat', /* route overides */ 'routes' => array( '' => 'home', 'robots.txt' => '_meta/robots', 'sitemap.xml' => '_meta/sitemap', 'manifest.json' => '_meta/manifest', 'rss.xml' => 'blog/rss', ), /* css to load on each route */ 'style' => array( 'home' => 'css/home.css', 'blog' => ['css/blog.css', 'css/prism.css'], 'error' => 'css/error.css', ), /* js to load on each route */ 'js' => array( 'blog' => 'js/prism.js', ), /* directories to autoload php code */ 'autoload' => array('/third_party', '/lib'), )); define('ASSET_ROOT', PHP_ROOT . '/assets');