This commit is contained in:
joyqi 2017-10-27 19:40:37 +08:00
parent 8191c8fcea
commit 3517eff4de

View File

@ -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'));
}
/** 语言包初始化 */