From 30e4a360847762bfc8afce6704261ea5cc38650c Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Wed, 16 Oct 2013 17:08:19 +0100 Subject: 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. --- view/theme/redbasic/php/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/theme/redbasic/php/config.php') diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index faf6c6f35..44ddb78b9 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -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"); -- cgit v1.2.3