// Merge -> revision 9288
This commit is contained in:
@@ -48,8 +48,8 @@ if (file_exists(INSTALL_PATH.'/../config/settings.inc.php'))
|
||||
|
||||
// setting the memory limit to 128M only if current is lower
|
||||
$memory_limit = ini_get('memory_limit');
|
||||
if ( substr($memory_limit,-1) != 'G'
|
||||
AND ((substr($memory_limit,-1) == 'M' AND substr($memory_limit,0,-1) < 128)
|
||||
if ( substr($memory_limit,-1) != 'G'
|
||||
AND ((substr($memory_limit,-1) == 'M' AND substr($memory_limit,0,-1) < 128)
|
||||
OR is_numeric($memory_limit) AND (intval($memory_limit) < 131072))
|
||||
){
|
||||
@ini_set('memory_limit','128M');
|
||||
@@ -108,9 +108,9 @@ if (isset($_GET['method']))
|
||||
case 'doUpgrade' :
|
||||
require_once('xml/doUpgrade.php');
|
||||
break;
|
||||
|
||||
|
||||
case 'getVersionFromDb' :
|
||||
require_once('xml/getVersionFromDb.php');
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user