';
$go = 0;
}
if(!new_is_writeable("../Public/Uploads")){
echo L("not_writable_upload").'
';
$go = 0;
}
if(!new_is_writeable("../server/Application/Runtime")){
echo L("not_writable_server_runtime").'
';
$go = 0;
}
//检查扩展
if(!extension_loaded("gd")){
echo '请安装php-gd
';
$go = 0;
}
/*
if(!extension_loaded("mcrypt")){
echo '请安装php-mcrypt
';
$go = 0;
}
*/
if(!extension_loaded("mbstring")){
echo '请安装php-mbstring
';
$go = 0;
}
if(!extension_loaded("zlib")){
echo '请安装php-zlib
';
$go = 0;
}
if(!extension_loaded("PDO") && !extension_loaded("pdo") ){
echo '请安装php-pdo
';
$go = 0;
}
/*if(extension_loaded("sqlite") || extension_loaded("sqlite3")){
echo '请安装php-sqlite
';
$go = 0;
}
*/
if (!$go) {
exit();
}
?>