The modified include_once was doing really strange things when retrieving
valid themes! Changed to simply include. Seems to work fine now. Please check it under PHP 4.x...
This commit is contained in:
+1
-1
@@ -3829,7 +3829,7 @@ function get_list_of_themes() {
|
||||
continue;
|
||||
}
|
||||
unset($THEME); // Note this is not the global one!! :-)
|
||||
include_once("$CFG->dirroot/theme/$theme/config.php");
|
||||
include("$CFG->dirroot/theme/$theme/config.php");
|
||||
if (!isset($THEME->sheets)) { // Not a valid 1.5 theme
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user