X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpatch-system.php;h=939f15ee621cef422f45e09537a31078e9909d41;hb=2e0f1bfd10fc3d9fe9b43d29cc3e32622b262c63;hp=e9be4551919aa110a7bdb968599dfeb78c941ebb;hpb=f9a9c09e1ae257449bfd98f8854e321efba1dc3c;p=mailer.git diff --git a/inc/patch-system.php b/inc/patch-system.php index e9be455191..939f15ee62 100644 --- a/inc/patch-system.php +++ b/inc/patch-system.php @@ -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 //