$ADD = "";
// Skip loading extensions
-if ((!isBooleanConstantAndTrue('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing'))) return;
+if ((!defined('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing'))) return;
// Load default sql_patches extension if present
if (FILE_READABLE(PATH."inc/extensions/ext-sql_patches.php")) {
// Load more cache files (like admins)
require_once(PATH."inc/load_cache.php");
} // END - if
-}
-// Free memory
-SQL_FREERESULT($res_ext_crt);
+ // Free memory
+ SQL_FREERESULT($res_ext_crt);
+}
// Load include files
if (!empty($INC_POOL[0])) {