X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpatch-system.php;h=939f15ee621cef422f45e09537a31078e9909d41;hb=b7aada7890a3c7d1c1da4d2b36d8d7683fa61c06;hp=37de0712551f64179a8bd09864f89ab35121fb0c;hpb=c1eab06914febad40fbb456d030a9101d6854a28;p=mailer.git diff --git a/inc/patch-system.php b/inc/patch-system.php index 37de071255..939f15ee62 100644 --- a/inc/patch-system.php +++ b/inc/patch-system.php @@ -38,11 +38,11 @@ if (!defined('__SECURITY')) { } // Check for patch level differences between databases and current hard-coded -if ((CURR_SVN_REVISION > $_CONFIG['patch_level']) || ($_CONFIG['patch_level'] == "CURR_SVN_REVISION") || ($_CONFIG['patch_ctime'] == "UNIX_TIMES")) { +if ((CURR_SVN_REVISION > getConfig('patch_level')) || (getConfig('patch_level') == "CURR_SVN_REVISION") || (getConfig('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; - $_CONFIG['patch_ctime'] = time(); + setConfigEntry('patch_level', CURR_SVN_REVISION); + setConfigEntry('patch_ctime', time()); } // END - if //