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-07-27 06:23:37 +0400
committerrobocoder <anthon.pang@gmail.com>2009-07-27 06:23:37 +0400
commit110f70f9d93ec0a93d341c06c9224c0b9c605817 (patch)
tree758a54c3f3be69971100916cef4aeaf30f0d1152 /core/Updater.php
parent567f4f32710f2e651b7dbc66277f2997ae8e8c96 (diff)
fix JSON stringify'd layout not completely decoded;
add defined(PIWIK_INCLUDE_PATH) before require_once per checklist git-svn-id: http://dev.piwik.org/svn/trunk@1335 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Updater.php b/core/Updater.php
index a85e95fc18..1be7884a9d 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -9,6 +9,9 @@
* @package Piwik
*/
+// no direct access
+defined('PIWIK_INCLUDE_PATH') or die('Restricted access');
+
require_once PIWIK_INCLUDE_PATH . '/core/Option.php';
class Piwik_Updater