mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
fixed bug
This commit is contained in:
parent
0827b2337b
commit
706a4cb8c1
@ -2,8 +2,8 @@
|
||||
/**
|
||||
* @Author: prpr
|
||||
* @Date: 2016-02-02 21:17:59
|
||||
* @Last Modified by: prpr
|
||||
* @Last Modified time: 2016-02-04 18:34:34
|
||||
* @Last Modified by: printempw
|
||||
* @Last Modified time: 2016-03-12 17:20:54
|
||||
*/
|
||||
|
||||
function __autoload($classname) {
|
||||
@ -11,4 +11,6 @@ function __autoload($classname) {
|
||||
$filename = "$dir/includes/".$classname.".class.php";
|
||||
include_once($filename);
|
||||
}
|
||||
if (!file_exists($dir.'/config.php'))
|
||||
Utils::raise(-1, '未找到 `config.php`,请确认配置文件是否存在。');
|
||||
require "$dir/config.php";
|
||||
|
Loading…
Reference in New Issue
Block a user