trying to fix problem on phpgroupware.org cvs demo

This commit is contained in:
seek3r 2001-12-30 09:42:55 +00:00
parent fcd99e116d
commit e46451e26a

View File

@ -673,11 +673,11 @@
$tpldir = PHPGW_SERVER_ROOT . '/' . $appname . '/templates/' . $GLOBALS['phpgw_info']['server']['template_set'];
$tpldir_default = PHPGW_SERVER_ROOT . '/' . $appname . '/templates/default';
if (is_dir($tpldir))
if (@is_dir($tpldir))
{
return $tpldir;
}
elseif (is_dir($tpldir_default))
elseif (@is_dir($tpldir_default))
{
return $tpldir_default;
}