define('SERVER_URL', "http://www.mxchange.org");
// Current SVN revision
-define('CURR_SVN_REVISION', "627");
+define('CURR_SVN_REVISION', "628");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
SQL_FREERESULT($result);
} // END - if
+ // Test-drive extension in update mode
+ include(sprintf("%sinc/extensions/ext-%s.php", PATH, $ext));
+
// Update extension if extension is installed and outdated
- //* DEBUG: */ print "ext={$ext},ver={$ext_ver}/".GET_EXT_VERSION($ext)."<br />\n";
- if ((!empty($ext_ver)) && (EXT_IS_ACTIVE($ext)) && (GET_EXT_VERSION($ext) > $ext_ver)) EXTENSION_UPDATE($file, $ext, $ext_ver);
+ //* DEBUG: */ print "ext={$ext},ver={$EXT_VERSION}/".GET_EXT_VERSION($ext)."<br />\n";
+ if ($EXT_VERSION > GET_EXT_VERSION($ext)) {
+ // Update the extension
+ EXTENSION_UPDATE($file, $ext, $ext_ver);
+ } // END - if
if (!empty($cacheArray['active_extensions'][$ext])) {
// Maybe we want to keept the current extension active?