多多返利 file_get_contents() 不支持
解决办法在admin.php,forum.php,install/include/install_function.php,config/config_global.php,config/config_ucenter.php以及uc_server\data/config.inc.php中的最开始加上以下代码:
if(!function_exists('file_get_contents')) {
function file_get_contents($filename) {
if(!$f=fopen($filename, 'rb')) {
return FALSE;
}
else{
$content=fread($f,filesize($filename));
fclose($f);
return $content;
}
}
}
ini_set('allow_url_fopen','On');
ini_set('allow_url_include','On');再进行安装测试-
页:
[1]