[Comoblog-commit] comoblog index.php,1.2,1.3
Status: Inactive
Brought to you by:
markwallis
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 05:30:28
|
Update of /cvsroot/comoblog/comoblog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16310 Modified Files: index.php Log Message: 1378108 - DB data changes in point version upgrades now supported Index: index.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- index.php 11 Dec 2005 12:14:00 -0000 1.2 +++ index.php 22 Dec 2005 05:30:18 -0000 1.3 @@ -5,6 +5,15 @@ } require_once ("include/config.inc.php"); +// CHECK VERSION UPGRADE ///////////////////////////////////////////////////// +if (!check_version_match()) { + Header ('Location: _install/patch_0.php'); + exit; +} + + +////////////////////////////////////////////////////////////////////////////// + // CURRENT_TIMESTAMP ////////////////////////////////////////////////////////// // $current_timestamp = ''; |