diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-02-07 01:24:07 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-02-07 01:24:07 +0400 |
commit | ab6070fca5de90d1b645ae95a54e18a0c82f4be0 (patch) | |
tree | 36793dc2b3b96b8a72554ef2e3914b634defac39 /core/dispatch.php | |
parent | 277af287ed7ea5a5d0effa847986711992940e0c (diff) |
refs #4439 disable eAccelerator if enabled (just disabling optimizing did not work) and display a message in the admin UI. Also disabled eAccelerator during tracking. We might need to move the method to detect eAccelerator to another place, not sure if this is the best one
Diffstat (limited to 'core/dispatch.php')
-rw-r--r-- | core/dispatch.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/dispatch.php b/core/dispatch.php index 42e5a950f7..a0a4e312db 100644 --- a/core/dispatch.php +++ b/core/dispatch.php @@ -11,6 +11,9 @@ use Piwik\Error; use Piwik\ExceptionHandler; use Piwik\FrontController; +use \Piwik\Plugin\ControllerAdmin as PluginControllerAdmin; + +PluginControllerAdmin::disableEacceleratorIfEnabled(); if (!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER) { require_once PIWIK_INCLUDE_PATH . '/core/Error.php'; |