X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flanguage.php;h=0b931cb4163a6054de115c3c3c8a5f064a8d8ca5;hb=ee71bda9cc7d75f090ae2e1a2d05d4903523e112;hp=6814974eb49ef92a7b62e20d9999d7f456b04a83;hpb=c1f17f1495b1666f02e70ad6752bdb9673fa5e1f;p=mailer.git diff --git a/inc/language.php b/inc/language.php index 6814974eb4..0b931cb416 100644 --- a/inc/language.php +++ b/inc/language.php @@ -58,10 +58,10 @@ if (!FILE_READABLE($FQFN)) { } // END - if // Load language file -LOAD_INC($INC); +LOAD_INC_ONCE($INC); // Check for installation mode -if (isBooleanConstantAndTrue('mxchange_installing')) { +if ((isInstalling()) || (!isInstalled()) || (!isAdminRegistered())) { // Load matching language file LOAD_INC("inc/language/install_".$mx_lang.".php"); }