diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-08-11 18:26:55 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-08-11 18:26:55 +0400 |
commit | 9d215e8789a34c544319258e8b271bd146c899e3 (patch) | |
tree | 4ba2a404fff6142442e3db3023a869b4ef705b61 /plugins/Referers/API.php | |
parent | 2ee8f6fe79a797c389c32cfb30a69b5199625d19 (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.
Diffstat (limited to 'plugins/Referers/API.php')
-rw-r--r-- | plugins/Referers/API.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Referers/API.php b/plugins/Referers/API.php index e2d2cd7704..127d970738 100644 --- a/plugins/Referers/API.php +++ b/plugins/Referers/API.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 . '/plugins/Referers/functions.php'; |