From e46451e26a39f1535654aca4e09989690caee80a Mon Sep 17 00:00:00 2001 From: seek3r Date: Sun, 30 Dec 2001 09:42:55 +0000 Subject: [PATCH] trying to fix problem on phpgroupware.org cvs demo --- phpgwapi/inc/class.common.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 3f7ae6a8d9..74951fa0fb 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -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; }