From 475489d2d2b37e0f94c042bb54cc8f8c99533de0 Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 10 Apr 2002 18:29:28 +0000 Subject: [PATCH] Fixed it so the phpgw_website will not be visible in the get_tempalte function. This should stop the demo from being dorked up. --- phpgwapi/inc/class.common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 7515f8933b..9729de5bca 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -645,7 +645,7 @@ $d = dir(PHPGW_SERVER_ROOT . '/phpgwapi/templates'); while ($entry=$d->read()) { - if ($entry != 'CVS' && $entry != '.' && $entry != '..' && is_dir(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $entry)) + if ($entry != 'CVS' && $entry != '.' && $entry != '..' && $entry != 'phpgw_website' && is_dir(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $entry)) { $list[$entry]['name'] = $entry; $f = PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $entry . '/details.inc.php';