- UPDATE_CONFIG(array("patch_level", "path_ctime"), array(CURR_PATH_LEVEL, "UNIX_TIMESTAMP()"));
- $_CONFIG['patch_level'] = CURR_PATCH_LEVEL;
- $_CONFIG['patch_ctime'] = time();
+ 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());