diff --git a/theme/index.php b/theme/index.php index feb1571722b..67f81bb4916 100644 --- a/theme/index.php +++ b/theme/index.php @@ -75,6 +75,9 @@ continue; } + unset($THEME); + include_once("$CFG->dirroot/theme/$theme/config.php"); + echo ""; echo ""; @@ -84,17 +87,25 @@ echo ''; } echo "

$theme

"; + if (!isset($THEME->sheets)) { + notify("OLD THEME!!"); + } + + echo ''; echo ''; echo ""; }