diff options
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r-- | include/functions.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index 624e84934..6a4948aa9 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -868,6 +868,7 @@ function url_is_remote($url) */ function get_pwg_themes() { + global $conf; $themes = array(); $template_dir = PHPWG_ROOT_PATH.'template'; @@ -876,6 +877,7 @@ function get_pwg_themes() { foreach (get_dirs($template_dir.'/'.$template.'/theme') as $theme) { + if ( ($template.'/'.$theme) != $conf['admin_layout'] ) array_push($themes, $template.'/'.$theme); } } |