Changeset 17893

Show
Ignore:
Timestamp:
10/03/08 14:08:38 (2 months ago)
Author:
hirvinen
Message:

Fixed memory limit check from 60 MB and error message from 20 MB to be both 40 MB.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/midcom/exec/config-test.php

    r17387 r17893  
    172172 
    173173$cur_limit = ini_get_filesize('memory_limit'); 
    174 if ($cur_limit >= (60 * 1024 * 1024)) 
     174if ($cur_limit >= (40 * 1024 * 1024)) 
    175175{ 
    176176    println('PHP Setting: memory_limit', OK); 
     
    178178else 
    179179{ 
    180     println('PHP Setting: memory_limit', ERROR, "MidCOM requires a minimum memory limit of 20 MB to operate correctly. Smaller amounts will lead to PHP Errors. Detected limit was {$cur_limit}."); 
     180    println('PHP Setting: memory_limit', ERROR, "MidCOM requires a minimum memory limit of 40 MB to operate correctly. Smaller amounts will lead to PHP Errors. Detected limit was {$cur_limit}."); 
    181181} 
    182182