mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
"MDL-18540, fixed default value of memorylimit"
This commit is contained in:
parent
bb45fe62c4
commit
c3935adbe7
1 changed files with 3 additions and 2 deletions
|
@ -235,9 +235,10 @@ $ADMIN->add('server', new admin_externalpage('phpinfo', get_string('phpinfo'), "
|
||||||
$temp = new admin_settingpage('performance', get_string('performance', 'admin'));
|
$temp = new admin_settingpage('performance', get_string('performance', 'admin'));
|
||||||
|
|
||||||
$temp->add(new admin_setting_special_selectsetup('memorylimit', get_string('memorylimit', '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',
|
array( '64M' => '64M',
|
||||||
'128M' => '128M',
|
'0' => '128M',
|
||||||
'256M' => '256M',
|
'256M' => '256M',
|
||||||
'1024M' => '1024M'
|
'1024M' => '1024M'
|
||||||
)));
|
)));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue