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