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:
authorrobocoder <anthon.pang@gmail.com>2009-08-11 18:26:55 +0400
committerrobocoder <anthon.pang@gmail.com>2009-08-11 18:26:55 +0400
commitf10f5cd1a447bbc490cbfcca00daa19e7b53e6d5 (patch)
tree4ba2a404fff6142442e3db3023a869b4ef705b61 /core/Updater.php
parente73c285192deacfd739c44ecb665852384793eef (diff)
Change die('Restricted access') to simply die.
With error_reporting(E_ALL|E_NOTICE) it prints nothing and is more consistent with directly accessing other Piwik php files. git-svn-id: http://dev.piwik.org/svn/trunk@1388 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Updater.php b/core/Updater.php
index b88ff6c945..054033f38c 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -10,7 +10,7 @@
*/
// no direct access
-defined('PIWIK_INCLUDE_PATH') or die('Restricted access');
+defined('PIWIK_INCLUDE_PATH') or die;
require_once PIWIK_INCLUDE_PATH . '/core/Option.php';