diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-11-28 06:41:12 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-11-28 06:41:12 +0300 |
commit | d89ba259ab95560f37344fdf27a4d966174dd8ad (patch) | |
tree | 612ae5b7e00b6937b01cfa3a6140abee78998e57 /plugins/Installation/Controller.php | |
parent | f0311f6f67db6d7bc0db736f9a40339d4bed61c1 (diff) |
Fixes #5081 Warn in system check when Pagespeed module is enabled
Diffstat (limited to 'plugins/Installation/Controller.php')
-rw-r--r-- | plugins/Installation/Controller.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php index 69b14c7a89..9d6244a63c 100644 --- a/plugins/Installation/Controller.php +++ b/plugins/Installation/Controller.php @@ -439,6 +439,17 @@ class Controller extends \Piwik\Plugin\ControllerAdmin } /** + * System check will call this page which should load quickly, + * in order to look at Response headers (eg. to detect if pagespeed is running) + * + * @return string + */ + public function getEmptyPageForSystemCheck() + { + return 'Hello, world!'; + } + + /** * Get system information */ public static function getSystemInformation() |