[Piwik-svn] r501 - trunk/modules
svnmaster at piwik.org
svnmaster at piwik.org
Thu May 29 05:40:25 CEST 2008
Author: matt
Date: 2008-05-29 05:40:24 +0200 (Thu, 29 May 2008)
New Revision: 501
Modified:
trunk/modules/Config.php
trunk/modules/Piwik.php
Log:
- fixing wrong name for configuration value for minimum_memory_limit
Modified: trunk/modules/Config.php
===================================================================
--- trunk/modules/Config.php 2008-05-29 03:34:40 UTC (rev 500)
+++ trunk/modules/Config.php 2008-05-29 03:40:24 UTC (rev 501)
@@ -17,7 +17,7 @@
* 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
*
Modified: trunk/modules/Piwik.php
===================================================================
--- trunk/modules/Piwik.php 2008-05-29 03:34:40 UTC (rev 500)
+++ trunk/modules/Piwik.php 2008-05-29 03:40:24 UTC (rev 501)
@@ -147,7 +147,7 @@
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)
More information about the Piwik-svn
mailing list