aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 12fe7200d..4c2b045c0 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -597,11 +597,11 @@ function url_is_remote($url)
/**
* returns available template/theme
*/
-function get_pwg_themes()
+function get_pwg_themes($template_root = 'public')
{
$themes = array();
- $template_dir = PHPWG_ROOT_PATH.'template';
+ $template_dir = PHPWG_ROOT_PATH.'template'.'/'.$template_root;
foreach (get_dirs($template_dir) as $template)
{