From afd490ae730db7f75240289c203dde1abd2035dc Mon Sep 17 00:00:00 2001 From: Matthieu Aubry Date: Thu, 21 Jul 2016 14:09:46 +1200 Subject: When Piwik config file becomes un-readable, make it clear that the file still exists but is not readable (#10331) * * In messages, make it more clear whether config file exists and/or is (not) readable * When the config file exists but is not readable, provide users the choice between making the file readable, or starting a fresh install * As long as Piwik is not installed, piwik.php should not return 500 when config file is not readable * Fixes #10283 * UI tests: updated message when config file is not found --- piwik.php | 1 - 1 file changed, 1 deletion(-) (limited to 'piwik.php') diff --git a/piwik.php b/piwik.php index f3e0ba934a..c1af709e2c 100644 --- a/piwik.php +++ b/piwik.php @@ -49,7 +49,6 @@ require_once PIWIK_INCLUDE_PATH . '/core/Tracker/Cache.php'; require_once PIWIK_INCLUDE_PATH . '/core/Tracker/Request.php'; require_once PIWIK_INCLUDE_PATH . '/core/Cookie.php'; -// TODO should move to Tracker application class later. currently needed for environment validation. SettingsServer::setIsTrackerApiRequest(); $environment = new \Piwik\Application\Environment('tracker'); -- cgit v1.2.3