Re: [Server-devel] Moodle langpack and configuration trick
On Fri, Apr 16, 2010 at 10:08 AM, Tim Moody timmo...@sympatico.ca wrote: Working iwth the La Rioja team, I rolled a new moodle-xs RPM that can pick $CFG overrides from files dropped in /etc/moodle/conf.d/ . Based on the example, I assume you mean .php files with valid php code and that do appropriate assignments to $CFG. Is it possible to break moodle? Yes. All moodle configuration is done in PHP code. If invalid, you break moodle. Does this run at each startup or only once? How does it interact with changes done through the admin interface? These are read on every HTTP request, and override changes done via admin interface. IOWs you can use it to lockdown values. m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Moodle langpack and configuration trick
Hi list, Working iwth the La Rioja team, I rolled a new moodle-xs RPM that can pick $CFG overrides from files dropped in /etc/moodle/conf.d/ . Right now we're using it here to install a langpack and set it as default. But it can naturally be used for other advanced configs without messing with the config.php that ships with Moodle rpm. The full trick is here http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Example:_Install_and_configure_Moodle_language_pack And yum --enablerepo=olpcxs-testing update will bring down this new Moodle (nothing else new in it really). cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel