|
解决办法
在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');
复制代码 再进行安装测试-
|
|