X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpatch-system.php;h=e36a18adb1723e4058d4c2886e5c2941947bf9dc;hb=9e1f6d2cff0bbef912d605d4ae1728f0382b83a4;hp=939f15ee621cef422f45e09537a31078e9909d41;hpb=8f60465485bd5e9ab2c0ddfa1f054458cf510042;p=mailer.git diff --git a/inc/patch-system.php b/inc/patch-system.php index 939f15ee62..e36a18adb1 100644 --- a/inc/patch-system.php +++ b/inc/patch-system.php @@ -38,10 +38,10 @@ if (!defined('__SECURITY')) { } // Check for patch level differences between databases and current hard-coded -if ((CURR_SVN_REVISION > getConfig('patch_level')) || (getConfig('patch_level') == "CURR_SVN_REVISION") || (getConfig('patch_ctime') == "UNIX_TIMES")) { +if ((constant('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()")); - setConfigEntry('patch_level', CURR_SVN_REVISION); + UPDATE_CONFIG(array("patch_level", "patch_ctime"), array(constant('CURR_SVN_REVISION'), "UNIX_TIMESTAMP()")); + setConfigEntry('patch_level', constant('CURR_SVN_REVISION')); setConfigEntry('patch_ctime', time()); } // END - if