mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Fixed it so the phpgw_website will not be visible in the get_tempalte function. This should stop the demo from being dorked up.
This commit is contained in:
parent
4e929d519c
commit
475489d2d2
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user