"MDL-18540, fixed default value of memorylimit"

This commit is contained in:
dongsheng
2009-03-30 04:42:26 +00:00
parent 22de2a9020
commit 3fca7144ca
+3 -2
View File
@@ -244,9 +244,10 @@ $ADMIN->add('server', new admin_externalpage('phpinfo', get_string('phpinfo'), "
$temp = new admin_settingpage('performance', get_string('performance', 'admin'));
$temp->add(new admin_setting_special_selectsetup('memorylimit', get_string('memorylimit', 'admin'),
get_string('configmemorylimit', 'admin'), '128M',
get_string('configmemorylimit', 'admin'), 0,
// if this option is set to 0, default 128M will be used
array( '64M' => '64M',
'128M' => '128M',
'0' => '128M',
'256M' => '256M',
'1024M' => '1024M'
)));