X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flanguage.php;h=3239912168adcbe1c2b13d0c78f77e215ff5b07b;hb=d364de8e6032f98c94c9fac460b6515c78603a21;hp=6814974eb49ef92a7b62e20d9999d7f456b04a83;hpb=c1f17f1495b1666f02e70ad6752bdb9673fa5e1f;p=mailer.git diff --git a/inc/language.php b/inc/language.php index 6814974eb4..3239912168 100644 --- a/inc/language.php +++ b/inc/language.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Sprache-Lader * * -------------------------------------------------------------------- * - * * + * $Revision:: $ * + * $Date:: $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: $ * + * Needs to be in all Files and every File needs "svn propset * + * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * @@ -58,10 +63,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"); }