mirror of
https://github.com/typecho/typecho.git
synced 2025-01-17 12:38:28 +01:00
修正报错
This commit is contained in:
parent
2ee8cf4c03
commit
f75ab3529b
@ -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', '');
|
||||
|
Loading…
x
Reference in New Issue
Block a user