mirror of
https://github.com/typecho/typecho.git
synced 2025-03-25 04:19:45 +01:00
fix #626
This commit is contained in:
parent
8191c8fcea
commit
3517eff4de
@ -28,7 +28,7 @@ class Widget_Init extends Typecho_Widget
|
||||
|
||||
/** 检查安装状态 */
|
||||
if (!$options->installed) {
|
||||
$this->update(array('value' => 1), $this->db->sql()->where('name = ?', 'installed'));
|
||||
$options->update(array('value' => 1), Typecho_Db::get()->sql()->where('name = ?', 'installed'));
|
||||
}
|
||||
|
||||
/** 语言包初始化 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user