// 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;
}
$GLOBALS['cache_instance']->removeCacheFile();
unset($GLOBALS['cache_array']['admin']);
}
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
// Create cache file
$GLOBALS['cache_instance']->init();
// This may drive a lot messages to the logfile
//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'No entry found in admin_acls to rewrite.');
}
- } elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+ } elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
// Create cache file here
$GLOBALS['cache_instance']->init();