多语言展示
当前在线:1886今日阅读:86今日分享:14

在BAE 3.0上面安装Discuz X3.2

本文我将会就如何将Discuz X3.2迁移到BAE 3.0做一个较详细的介绍,但对于如何使用BAE,本文不做介绍,读者可搜索其他相关经验,或者阅读BAE官方文档。修改upload/install/index.php,注释掉第309行show_msg('database_errno_1044', ($mysqlmode == 'mysql') ? mysql_error($link) : $link->error, 0);修改upload/install/index.php,将第54行改为:$bbserver = 'http'.($isHTTPS ? 's' : '').'://'.$_SERVER['HTTP_HOST'];修改upload/uc_client/model/base.php,在第74行加上UC_DBNAME修改upload/admin.php,在第30行加上 $_G['setting']['jspath'] = 'static/js/';修改upload/forum.php,大约在第57行位置添加$_G['setting']['ucenterurl'] = 'http'.($isHTTPS ? 's' : '').'://'. $_SERVER['HTTP_HOST'].substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/')).'/uc_server';将upload目录内的内容通过SVN或GIT上传至BAE中,运行安装即可。
推荐信息