ryouko/ryouko.php

19 lines
499 B
PHP
Raw Permalink Normal View History

2022-07-04 00:16:43 +00:00
<?php
namespace Ryouko;
use Index\Autoloader;
use Index\Environment;
//use Index\Data\MariaDB\MariaDBBackend;
//use Index\Data\MariaDB\MariaDBConnectionInfo;
define('RYK_STARTUP', microtime(true));
define('RYK_ROOT', __DIR__);
define('RYK_DEBUG', is_file(RYK_ROOT . '/.debug'));
define('RYK_DIR_SRC', RYK_ROOT . '/src');
define('RYK_DIR_PUB', RYK_ROOT . '/public');
//define('RYK_DIR_CFG', RYK_ROOT . '/config');
2023-09-05 20:08:16 +00:00
require_once RYK_ROOT . '/vendor/autoload.php';
2022-07-04 00:16:43 +00:00
Environment::setDebug(RYK_DEBUG);