fixed missing var causing app like templates not to be found

This commit is contained in:
Ralf Becker 2010-06-02 17:33:26 +00:00
parent bec64ee336
commit d9b9e79fcd

View File

@ -837,7 +837,7 @@ abstract class egw_framework
while (($entry=$d->read()))
{
if ($entry != '..' && !isset($GLOBALS['egw_info']['apps'][$entry]) &&
file_exists(EGW_SERVER_ROOT . '/' . $entry .'/setup/setup.inc.php'))
file_exists($f = EGW_SERVER_ROOT . '/' . $entry .'/setup/setup.inc.php'))
{
include($f);
if (isset($GLOBALS['egw_info']['template'][$entry]))