Fixing Theme Config Variables MDL-6784
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
$preview = optional_param('preview','standard',PARAM_FILE); // which theme to show
|
||||
|
||||
if (!file_exists($preview)) {
|
||||
if (!file_exists($CFG->themedir .'/'. $preview)) {
|
||||
$preview = 'standard';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user