From c1e0987b880c116b392d65a2b40cda2fd53debe0 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 21 Jun 2015 17:53:44 +0200 Subject: do not show default in scheme selection dropdown. default.php and default.css should be symlinks. adjust doco accordingly. --- view/theme/redbasic/php/config.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (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 8ab31efc0..c0b2b6da9 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -84,8 +84,10 @@ function redbasic_form(&$a, $arr) { if($files) { foreach($files as $file) { $f = basename($file, ".php"); - $scheme_name = $f; - $scheme_choices[$f] = $scheme_name; + if($f != 'default') { + $scheme_name = $f; + $scheme_choices[$f] = $scheme_name; + } } } -- cgit v1.2.3