diff options
author | robocoder <anthon.pang@gmail.com> | 2009-08-11 18:26:55 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-08-11 18:26:55 +0400 |
commit | f10f5cd1a447bbc490cbfcca00daa19e7b53e6d5 (patch) | |
tree | 4ba2a404fff6142442e3db3023a869b4ef705b61 /core/Updater.php | |
parent | e73c285192deacfd739c44ecb665852384793eef (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.php | 2 |
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'; |