Author: Jonathan.Wage
Date: 2010-01-20 07:37:51 +0100 (Wed, 20 Jan 2010)
New Revision: 26913

Modified:
   plugins/sfSympalPlugin/trunk/lib/check/sfSympalServerCheck.class.php
Log:
[1.4][sfSympalPlugin][1.0] Fixing server check


Modified: plugins/sfSympalPlugin/trunk/lib/check/sfSympalServerCheck.class.php
===================================================================
--- plugins/sfSympalPlugin/trunk/lib/check/sfSympalServerCheck.class.php        
2010-01-20 06:29:58 UTC (rev 26912)
+++ plugins/sfSympalPlugin/trunk/lib/check/sfSympalServerCheck.class.php        
2010-01-20 06:37:51 UTC (rev 26913)
@@ -23,7 +23,7 @@
       ),
       'php config' => array(
         new sfSympalServerCheckUnit('version', phpversion(), '5.2.4', 
self::ERROR),
-        new sfSympalServerCheckUnit('memory', ini_get('memory_limit'), '64M', 
self::ERROR),
+        new sfSympalServerCheckUnit('memory', ini_get('memory_limit'), 
PHP_SAPI == 'cli' ? '128M' : '48M', self::ERROR),
         new sfSympalServerCheckUnit('magic quote gpc', 
ini_get('magic_quotes_gpc'), false),
         new sfSympalServerCheckUnit('upload max filesize', 
ini_get('upload_max_filesize'), '2M'),
         new sfSympalServerCheckUnit('post max size', ini_get('post_max_size'), 
'2M'),

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.


Reply via email to