'; $include_dir = $dir.DIRECTORY_SEPARATOR."libraries".DIRECTORY_SEPARATOR; $filename = $include_dir.str_replace('\\', DIRECTORY_SEPARATOR, $classname) . '.class.php'; require_once($filename); } if (!file_exists($dir.'/config.php')) Utils::showErrorPage(-1, '未找到 `config.php`,请确认配置文件是否存在。'); require "$dir/config.php";