I'm using config file to force most of the nondefault settings in moodle. I've tried to force the settings for the VPL and all but one work as expected. I've got problem with jail_servers setting which is not forced. Maybe textarea setting should be forced in a different way.
Could you look if this works on your installation?
You need to paste one of these into config.php First one should only force the jail_servers setting, second should force all plugin settings
Hi,
I'm using config file to force most of the nondefault settings in moodle. I've tried to force the settings for the VPL and all but one work as expected. I've got problem with jail_servers setting which is not forced. Maybe textarea setting should be forced in a different way. Could you look if this works on your installation?
You need to paste one of these into config.php First one should only force the jail_servers setting, second should force all plugin settings
$CFG->forced_plugin_settings = array('mod_vpl'=>array('jail_servers ' =>'http://demojailTEST_TEST.dis.ulpgc.es'));
`$CFG->forced_plugin_settings = array('mod_vpl' =>array('maxfilesize' => '4194304', 'maxexetime' => '1920', 'maxexefilesize' => '134217728', 'maxexememory' => '536870912',
'maxexeprocesses' => '200',
'defaultfilesize' => '65536', 'defaultexetime' => '240', 'defaultexefilesize' => '67108864', 'defaultexememory' => '67108864',
'defaultexeprocesses' => '100',
'jail_servers ' =>'http://demojailTEST_TEST.dis.ulpgc.es', 'acceptcertificates' => '1', 'websocket_protocol' => 'depends_on_https', 'proxy' => '', 'use_watermarks' => '0', 'discard_submission_period' => '60') );
`