|
@@ -11,6 +11,12 @@ define('PAGE_ADDRESS', $pageAddress . ((substr($pageAddress, -1) === '/' OR $pag
|
|
|
define('PAGE_LINEAGE', explode('/', PAGE_ADDRESS));
|
|
|
define('SERVICE', dirname(PAGE_ADDRESS));
|
|
|
|
|
|
+if (PAGE_ADDRESS === 'config.ini') {
|
|
|
+ header('Content-Type: text/plain');
|
|
|
+ echo file_get_contents(ROOT_PATH . '/config.ini');
|
|
|
+ exit();
|
|
|
+}
|
|
|
+
|
|
|
function pageNotFound(): never {
|
|
|
http_response_code(404);
|
|
|
exit(_('Page not found.'));
|