diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-02-23 22:57:27 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-02-23 22:57:27 -0500 |
| commit | f373ead95fb5beb962c376b5b7b46dfde8ac4e57 (patch) | |
| tree | c99df23521ff2a5e5e2e4627c525a5e99dc2e3ae /src/web/index.php | |
| parent | add 96x96 logo (diff) | |
| download | website-f373ead95fb5beb962c376b5b7b46dfde8ac4e57.tar.gz website-f373ead95fb5beb962c376b5b7b46dfde8ac4e57.tar.bz2 website-f373ead95fb5beb962c376b5b7b46dfde8ac4e57.zip | |
update website to work with crimson framework
Diffstat (limited to 'src/web/index.php')
| -rw-r--r-- | src/web/index.php | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/web/index.php b/src/web/index.php deleted file mode 100644 index 9958b1b..0000000 --- a/src/web/index.php +++ /dev/null @@ -1,48 +0,0 @@ -<?php /* Copyright (c) 2024 Freya Murphy */ - -// ========================= ENVIRONMENT == - -ini_set('html_errors', '1'); -ini_set('browscap', 'browscap.ini'); -date_default_timezone_set('America/New_York'); - -// FOLDER_ROOT -// -// define folder directiroy paths based on this file -define('PHP_ROOT', realpath(dirname(__FILE__) . '/..')); -define('WEB_ROOT', PHP_ROOT . '/web'); -define('ASSET_ROOT', PHP_ROOT . '/assets'); -define('PUBLIC_ROOT', PHP_ROOT . '/public'); - -// ========================== BOOTSTRAP == - -// load the config -require(WEB_ROOT . '/config.php'); - -// load all third party -require(WEB_ROOT . '/third_party/parsedown.php'); -require(WEB_ROOT . '/third_party/parsedown_extra.php'); - -// load all the helpers -require(WEB_ROOT . '/helpers/ie.php'); -require(WEB_ROOT . '/helpers/lang.php'); -require(WEB_ROOT . '/helpers/aria.php'); -require(WEB_ROOT . '/helpers/image.php'); -require(WEB_ROOT . '/helpers/markdown.php'); -require(WEB_ROOT . '/helpers/database.php'); -require(WEB_ROOT . '/helpers/sanitize.php'); - -// load all core files -require(WEB_ROOT . '/core/core.php'); -require(WEB_ROOT . '/core/component.php'); -require(WEB_ROOT . '/core/controller.php'); -require(WEB_ROOT . '/core/model.php'); -require(WEB_ROOT . '/core/router.php'); - - -// load file stamps -require(WEB_ROOT . '/stamp.php'); - -// ============================== START == - -(new Router())->handle_req(); |