如何在BAE 3.0上面安装Discuz X3.2

2024-10-14 00:44:28

1、修改upload/install/index.php,注释掉第309行show_msg('database_err荏鱿胫协no_1044', ($mysqlmode == 'mysql') ? mysql_error($link) : $link->error, 0);

如何在BAE 3.0上面安装Discuz X3.2

3、修改upload/uc_client/model/base.php,在第74行加上UC_DBNAME

如何在BAE 3.0上面安装Discuz X3.2

5、修改upload/forum.php,大约在第57行位置添加$_G['setting']['ucenterurl'] = 'http'.($isHTTPS ? 's' : '').'://'. $_SERVER['HTTP_HOST'].substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/')).'/uc_server';

如何在BAE 3.0上面安装Discuz X3.2

6、将upload目录内的内容通过SVN或GIT上传至BAE中,运行安装即可。

猜你喜欢