Skip to content

Commit

Permalink
refs #1536
Browse files Browse the repository at this point in the history
  * Field added for auto-login
  • Loading branch information
inureyes committed Dec 23, 2010
1 parent da5f5df commit 4ab66f0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion interface/blog/checkup.php
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,15 @@ function clearCache() {
showCheckupMessage(false);
}
}

/* From Textcube 1.9 */
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 AFTER updated"))
showCheckupMessage(true);
else
showCheckupMessage(false);
}
}

/***** Common parts. *****/
Expand Down

0 comments on commit 4ab66f0

Please # to comment.