diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-27 06:23:37 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-27 06:23:37 +0400 |
commit | fcb8d4c90a5616327cb8f60cc3969889e9aa94d2 (patch) | |
tree | 758a54c3f3be69971100916cef4aeaf30f0d1152 /plugins/UserCountry | |
parent | 5c81297e7a4c4bf848d61fabd50ffb6af1103e05 (diff) |
fix JSON stringify'd layout not completely decoded;
add defined(PIWIK_INCLUDE_PATH) before require_once per checklist
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r-- | plugins/UserCountry/API.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/UserCountry/API.php b/plugins/UserCountry/API.php index ce5fb84c1f..476168f6e4 100644 --- a/plugins/UserCountry/API.php +++ b/plugins/UserCountry/API.php @@ -8,6 +8,10 @@ * * @package Piwik_UserCountry */ + +// no direct access +defined('PIWIK_INCLUDE_PATH') or die('Restricted access'); + require_once PIWIK_INCLUDE_PATH . '/core/DataFiles/Countries.php'; require_once PIWIK_INCLUDE_PATH . '/plugins/UserCountry/functions.php'; |