白云图书馆管理系统 —— 课程作业项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
385 B

3 years ago
<?php
date_default_timezone_set($GLOBALS['config']['timezone']);
session_set_cookie_params(24 * 3600);
session_start();
require('src/autoload.php');
define('APP_ROOT', dirname(__FILE__));
//if ($GLOBALS['config']['environment'] == 'development') {
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(-1);
//}
new autoload();
new router();