X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions.php;h=84506151e18d3cfb4ccb897df18e80c8048d8cc1;hb=e6e3183f794b385f5acc38b371c220cc35cdac38;hp=3973f4132afb746d5403111617ac69ccaf6819dc;hpb=ae51687a0bf708aeca3d68263320804ae0dd42ef;p=mailer.git diff --git a/inc/extensions.php b/inc/extensions.php index 3973f4132a..84506151e1 100644 --- a/inc/extensions.php +++ b/inc/extensions.php @@ -319,7 +319,7 @@ function EXT_IS_ACTIVE ($ext_name) { global $cacheArray, $_CONFIG; // Extensions are all inactive during installation - if ((!isBooleanConstantAndTrue('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing')) || (empty($ext_name))) return false; + if ((!defined('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing')) || (empty($ext_name))) return false; // Not active is the default $active = "N"; @@ -368,7 +368,7 @@ function GET_EXT_VERSION ($ext_name) { $ret = false; // Extensions are all inactive during installation - if ((!isBooleanConstantAndTrue('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing'))) return ""; + if ((!defined('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing'))) return ""; //* DEBUG: */ echo __FUNCTION__.": ext_name={$ext_name}
\n"; // Is the cache written?