* -------------------------------------------------------------------- *
* @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 *
// 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;
}
// 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
// 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();