X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fextensions.php;h=0fbfc12dbf32e5be8e0d9a2623d5ec1bfe4bc54f;hb=1f507f190ba73b50dc005b6d5597422f239b3761;hp=88a33b4c0bf8ab718de347f6998c325c78fa9471;hpb=ee309e90a4fe02c44d668ac6c736c72b969339ab;p=mailer.git diff --git a/inc/extensions.php b/inc/extensions.php index 88a33b4c0b..0fbfc12dbf 100644 --- a/inc/extensions.php +++ b/inc/extensions.php @@ -320,7 +320,7 @@ function EXTENSION_RUN_SQLS ($ext_id, $load_mode) { // Check if given extension is active function EXT_IS_ACTIVE ($ext_name) { // Extensions are all inactive during installation - if ((!isBooleanConstantAndTrue('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing')) || (empty($ext_name))) return false; + if ((!isBooleanConstantAndTrue('mxchange_installed')) || (isInstalling()) || (empty($ext_name))) return false; // Not active is the default $active = "N"; @@ -369,7 +369,7 @@ function GET_EXT_VERSION ($ext_name) { $ext_ver = false; // Extensions are all inactive during installation - if ((!isBooleanConstantAndTrue('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing'))) return ""; + if ((!isBooleanConstantAndTrue('mxchange_installed')) || (isInstalling())) return ""; //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, ": ext_name={$ext_name}"); // Is the cache written?