mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle
This commit is contained in:
commit
e135797586
50 changed files with 267 additions and 142 deletions
|
@ -712,7 +712,7 @@ if (!empty($CFG->profilingenabled)) {
|
|||
// Process theme change in the URL.
|
||||
if (!empty($CFG->allowthemechangeonurl) and !empty($_GET['theme'])) {
|
||||
// we have to use _GET directly because we do not want this to interfere with _POST
|
||||
$urlthemename = optional_param('theme', '', PARAM_SAFEDIR);
|
||||
$urlthemename = optional_param('theme', '', PARAM_PLUGIN);
|
||||
try {
|
||||
$themeconfig = theme_config::load($urlthemename);
|
||||
// Makes sure the theme can be loaded without errors.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue