X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload-extension.php;h=7187e54e30a67381ab605b15e93d1c88da9e9995;hb=49acdb7a7adbcf25a8e8683b5581bfcec72b23bd;hp=0d35dd45019d89ee2d186455ffb9bb5a0f573585;hpb=155492a5b96cec674846973a8524238b0365a848;p=mailer.git diff --git a/inc/loader/load-extension.php b/inc/loader/load-extension.php index 0d35dd4501..7187e54e30 100644 --- a/inc/loader/load-extension.php +++ b/inc/loader/load-extension.php @@ -12,13 +12,8 @@ * -------------------------------------------------------------------- * * @TODO Rewrite this whole file * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * Copyright (c) 2009 - 2015 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -40,8 +35,9 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif (isInstallationPhase()) { +} elseif (isInstaller()) { // Do not run in installation phase + //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.'); return FALSE; } @@ -60,7 +56,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache // Loop through all foreach ($EXT_DUMMY['ext_name'] as $k => $ext_name) { - // Load CSS file + // Load CSS file? if ($EXT_DUMMY['ext_css'][$k] == 'Y') { addExtensionCssFile($ext_name . '.css'); } // END - if @@ -132,7 +128,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache // Remove array and mark cache as loaded unset($EXT_POOL); -} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) { +} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) { // Create cache file here $GLOBALS['cache_instance']->init();