ryouko/ryouko.php

15 lines
385 B
PHP
Raw Normal View History

2022-07-04 00:16:43 +00:00
<?php
namespace Ryouko;
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');
2023-09-05 20:08:16 +00:00
require_once RYK_ROOT . '/vendor/autoload.php';
2022-07-04 00:16:43 +00:00
2024-08-04 23:14:25 +00:00
error_reporting(RYK_DEBUG ? -1 : 0);
mb_internal_encoding('UTF-8');
date_default_timezone_set('GMT');