diff --git a/.travis.yml b/.travis.yml index 1af875a5..51138ec6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ php: - 5.4 - 7.0 - 7.1 - - nightly + - 7.2 script: cd ./tools/ && set -e && make test diff --git a/install.php b/install.php index 88ffc9bc..0ee261e7 100644 --- a/install.php +++ b/install.php @@ -52,6 +52,8 @@ require_once 'Typecho/Router.php'; /** 程序初始化 */ Typecho_Common::init(); +ob_start(); + else: require_once dirname(__FILE__) . '/config.inc.php'; @@ -198,7 +200,6 @@ if ('zh_CN' != $lang) { } Typecho_Cookie::set('__typecho_lang', $lang); -ob_start(); ?> @@ -681,5 +682,4 @@ Typecho_Db::set(\$db);