"MDL-18540, fixed default value of memorylimit"

This commit is contained in:
dongsheng 2009-03-30 04:42:55 +00:00
parent bb45fe62c4
commit c3935adbe7

View file

@ -235,9 +235,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'
)));