修正报错

This commit is contained in:
joyqi 2013-10-09 23:09:27 +08:00
parent 2ee8cf4c03
commit f75ab3529b

View File

@ -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', '');