$GLOBALS['cacheMode'] = "no";
// Load sql_patchrs extension alone
-LOAD_EXTENSION("sql_patches");
+if (!LOAD_EXTENSION("sql_patches")) {
+ // Could not load sql_patches! ARGH!!!
+ trigger_error("Cannot load extension sql_patches.");
+} // END - if
// Init inc pool array
$INC_POOL = array();
//
if (EXT_IS_ACTIVE("cache")) {
// Load cache extension alone
- LOAD_EXTENSION("cache");
+ if (!LOAD_EXTENSION("cache")) {
+ // Extension 'cache' was not loaded
+ trigger_error("Cannot load extension cache.");
+ } // END - if
// Check extension cache
switch (($GLOBALS['cache_instance']->loadCacheFile("extensions", true)) && ($GLOBALS['cache_instance']->extensionVersionMatches("sql_patches"))) {