Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/FrontController.php')
-rw-r--r--core/FrontController.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/FrontController.php b/core/FrontController.php
index 5c29591ed4..155cac103f 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -10,6 +10,7 @@
*/
namespace Piwik;
+
use Exception;
use Piwik\API\Request;
use Piwik\API\ResponseBuilder;
@@ -222,8 +223,8 @@ class FrontController
// which load the HTML page of the installer with the error.
// This is at least required for misc/cron/archive.php and useful to all other scripts
return (defined('PIWIK_ENABLE_DISPATCH') && !PIWIK_ENABLE_DISPATCH)
- || Common::isPhpCliMode()
- || SettingsServer::isArchivePhpTriggered();
+ || Common::isPhpCliMode()
+ || SettingsServer::isArchivePhpTriggered();
}
/**