mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
trying to fix problem on phpgroupware.org cvs demo
This commit is contained in:
parent
fcd99e116d
commit
e46451e26a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user