echo '<li>', _text('기존 에디터로 작성된 글을 새 에디터로 편집 가능하도록 이전합니다.'), ': '; $pool->reset("Entries"); $pool->setAttribute("contentformatter", "ttml", true); $pool->setAttribute("contenteditor", "tinyMCE", true); $pool->setQualifier("contentformatter", "eq", "ttml", true); $pool->setQualifier("contenteditor", "eq", "modern", true); if ($pool->update()) { showCheckupMessage(true); } else { showCheckupMessage(false); } } if (!DBAdapter::queryExistence("DESC {$database['prefix']}Sessions expires")) { $changed = true; echo '<li>', _text('자동 로그인을 위해 세션 테이블 구조를 수정합니다.'), ': '; if (DBAdapter::execute("ALTER TABLE {$database['prefix']}Sessions ADD expires int(11) NOT NULL DEFAULT 0 AFTER updated")) { showCheckupMessage(true); } else { showCheckupMessage(false); } } if (!doesExistTable($database['prefix'] . "Properties")) { $changed = true; echo '<li>', _text('프로퍼티 저장을 위한 테이블을 추가합니다.'), ': '; $pool = DBModel::getInstance(); $pool->reset("Properties"); $pool->structure = array("blogid" => array("type" => "integer", "length" => 11, "isNull" => false), "namespace" => array("type" => "varchar", "length" => 32, "isNull" => false, "default" => 'global'), "keyname" => array("type" => "varchar", "length" => 32, "isNull" => false), "value" => array("type" => "text", "isNull" => false)); $pool->option['primary'] = array("blogid", "namespace", "keyname"); if ($pool->create()) { showCheckupMessage(true); } else {