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:
authorThomas Steur <thomas.steur@googlemail.com>2014-07-02 06:35:12 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-07-02 06:35:12 +0400
commit153a9c85e6a85d9b03abf9a58f8648e53f5ea8c5 (patch)
tree3191e84de28a75233133bb9b12106062abccbcfa /core/Development.php
parent1a882aa49334e111bcc2b9cb86a6fd7245e01b8c (diff)
fix reading config value
Diffstat (limited to 'core/Development.php')
-rw-r--r--core/Development.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Development.php b/core/Development.php
index 880b55ea83..e9b64f4e82 100644
--- a/core/Development.php
+++ b/core/Development.php
@@ -27,7 +27,7 @@ class Development
public static function isEnabled()
{
if (is_null(self::$isEnabled)) {
- self::$isEnabled = (bool) Config::getInstance()->General['development_mode'];
+ self::$isEnabled = (bool) Config::getInstance()->Development['enabled'];
}
return self::$isEnabled;