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
//