global $cacheArray, $_CONFIG;
// Extensions are all inactive during installation
- if ((!mxchange_installed) || (mxchange_installing) || (empty($ext_name))) return false;
+ if ((!isBooleanConstantAndTrue('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing')) || (empty($ext_name))) return false;
// Extension's file name will also be checked
$file = PATH."inc/extensions/ext-".$ext_name.".php";
$ret = false;
// Extensions are all inactive during installation
- if ((!mxchange_installed) || (mxchange_installing)) return "";
+ if ((!isBooleanConstantAndTrue('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing'))) return "";
// Is the cache written?
if (!empty($cacheArray['extensions']['ext_version'][$ext_name])) {