Fixing Theme Config Variables MDL-6784

This commit is contained in:
skodak
2006-10-09 10:12:41 +00:00
parent 4dd5d7513d
commit a44091bffe
23 changed files with 76 additions and 59 deletions
+1 -1
View File
@@ -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';
}