From c1eab06914febad40fbb456d030a9101d6854a28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 28 Nov 2008 19:48:36 +0000 Subject: [PATCH 1/1] Patch for patch-system... ;-) --- inc/databases.php | 2 +- inc/patch-system.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index d0a5cf6a10..870470bfc2 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -114,7 +114,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "577"); +define('CURR_SVN_REVISION', "578"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/patch-system.php b/inc/patch-system.php index c0daae6238..37de071255 100644 --- a/inc/patch-system.php +++ b/inc/patch-system.php @@ -38,7 +38,7 @@ if (!defined('__SECURITY')) { } // Check for patch level differences between databases and current hard-coded -if (CURR_SVN_REVISION > $_CONFIG['patch_level']) { +if ((CURR_SVN_REVISION > $_CONFIG['patch_level']) || ($_CONFIG['patch_level'] == "CURR_SVN_REVISION") || ($_CONFIG['patch_ctime'] == "UNIX_TIMES")) { // Update database and CONFIG array UPDATE_CONFIG(array("patch_level", "patch_ctime"), array(CURR_SVN_REVISION, "UNIX_TIMESTAMP()")); $_CONFIG['patch_level'] = CURR_SVN_REVISION; -- 2.30.2