From f75ab3529b18c4698193c92e95ca0e3a016f91f9 Mon Sep 17 00:00:00 2001 From: joyqi Date: Wed, 9 Oct 2013 23:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index fbfa0da5..79db8e13 100644 --- a/install.php +++ b/install.php @@ -470,7 +470,7 @@ list($prefixVersion, $suffixVersion) = explode('/', $currentVersion); Typecho_Db::set(\$db); "; $contents = implode('', $lines); - file_put_contents('./config.inc.php', $contents); + @file_put_contents('./config.inc.php', $contents); // 创建一个用于标识的临时文件 file_put_contents(sys_get_temp_dir() . '/install-typecho', '');