]> git.mxchange.org Git - mailer.git/blobdiff - inc/patch-system.php
Script rewritten to setConfigEntry(), getConfig() and incrementConfigEntry()
[mailer.git] / inc / patch-system.php
index e9be4551919aa110a7bdb968599dfeb78c941ebb..939f15ee621cef422f45e09537a31078e9909d41 100644 (file)
@@ -41,8 +41,8 @@ if (!defined('__SECURITY')) {
 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
 
 //