Don't break themes by using functions we don't need.
If you've got a theme that started off copying Redbasic (ie, all of you) need to do this too.
This commit is contained in:
@@ -39,7 +39,7 @@ function redbasic_form(&$a, $schema, $nav_colour, $bgcolour, $background_image,
|
||||
|
||||
$scheme_choices = array();
|
||||
$scheme_choices["---"] = t("Default");
|
||||
$files = glob('view/theme/' . current_theme() . '/schema/*');
|
||||
$files = glob('view/theme/redbasic/schema/*');
|
||||
if($files) {
|
||||
foreach($files as $file) {
|
||||
$f = basename($file, ".php");
|
||||
|
||||
Reference in New Issue
Block a user