Check only for php in schema globs.
This commit is contained in:
parent
30e4a36084
commit
b860a21fdc
@ -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/redbasic/schema/*');
|
||||
$files = glob('view/theme/redbasic/schema/*.php');
|
||||
if($files) {
|
||||
foreach($files as $file) {
|
||||
$f = basename($file, ".php");
|
||||
|
Reference in New Issue
Block a user