12345678910111213141516171819202122232425262728 |
- <?php
- defined('API_ROOT') || define('API_ROOT', dirname(__FILE__) . '/..');
- require_once API_ROOT . '/vendor/autoload.php';
- date_default_timezone_set('Asia/Shanghai');
- include API_ROOT . '/config/di.php';
- if (\PhalApi\DI()->debug) {
-
- \PhalApi\DI()->tracer->mark('PHALAPI_INIT');
- error_reporting(E_ALL);
- ini_set('display_errors', 'On');
- }
- \PhalApi\SL('zh_cn');
|