diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-05-29 07:40:24 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-05-29 07:40:24 +0400 |
commit | 7ddf3bf262399f514a97c6959b0b3fbadfe85582 (patch) | |
tree | 68814ea3edaa61fec2d8708d979e7a4cafbf3b84 | |
parent | 7cf2489102d1ba525c0eb417b899691f8fed8173 (diff) |
- fixing wrong name for configuration value for minimum_memory_limit
-rwxr-xr-x | modules/Config.php | 2 | ||||
-rwxr-xr-x | modules/Piwik.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/Config.php b/modules/Config.php index 3b435c8672..9f430ead7d 100755 --- a/modules/Config.php +++ b/modules/Config.php @@ -17,7 +17,7 @@ require_once "Zend/Registry.php"; * You can also set these values, the updated configuration files will be written at the end of the script execution. * * Example reading a value from the configuration file: - * $minValue = Zend_Registry::get('config')->General->minimumMemoryLimit; + * $minValue = Zend_Registry::get('config')->General->minimum_memory_limit; * * will read the value minimumMemoryLimit under the [General] section of the config file * diff --git a/modules/Piwik.php b/modules/Piwik.php index 379de63215..ae2d869f33 100755 --- a/modules/Piwik.php +++ b/modules/Piwik.php @@ -147,7 +147,7 @@ class Piwik static public function raiseMemoryLimitIfNecessary() { - $minimumMemoryLimit = Zend_Registry::get('config')->General->minimumMemoryLimit; + $minimumMemoryLimit = Zend_Registry::get('config')->General->minimum_memory_limit; $memoryLimit = self::getMemoryLimitValue(); if($memoryLimit === false || $memoryLimit < $minimumMemoryLimit) |