From: quix0r Date: Sat, 6 Jun 2009 21:14:51 +0000 (+0000) Subject: sql_patches will never have language/function includes... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c7033274336c12ecde312863dca12799193e6bee;p=mailer.git sql_patches will never have language/function includes... --- diff --git a/inc/extensions.php b/inc/extensions.php index 790c42639f..765d1d8100 100644 --- a/inc/extensions.php +++ b/inc/extensions.php @@ -88,7 +88,7 @@ function LOAD_EXTENSION ($ext_name, $EXT_LOAD_MODE = '', $EXT_VER = '', $dry_run //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, "--- Language loaded."); $GLOBALS['ext_loaded']['lang'][$ext_name] = true; loadIncludeOnce($langInclude); - } else { + } elseif ($ext_name != 'sql_patches') { // No language file is not so good... DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("WARNING: Extension %s has no language file or we cannot read from it. lang=%s", $ext_name, getLanguage() @@ -104,7 +104,7 @@ function LOAD_EXTENSION ($ext_name, $EXT_LOAD_MODE = '', $EXT_VER = '', $dry_run //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, "--- Functions loaded."); $GLOBALS['ext_loaded']['funcs'][$ext_name] = true; loadIncludeOnce($funcsInclude); - } else { + } elseif ($ext_name != 'sql_patches') { // No functions file is not so good... DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("WARNING: Extension %s has no own functions file or we cannot read from it.", $ext_name