get rid of an errormsg: file not found

This commit is contained in:
Ralf Becker 2002-09-22 17:55:17 +00:00
parent 6bf54e8353
commit 6d9566cfbe

View File

@ -677,7 +677,7 @@
$path = PHPGW_SERVER_ROOT."/$app/setup/etemplates.inc.php"; $path = PHPGW_SERVER_ROOT."/$app/setup/etemplates.inc.php";
if ($time = filemtime($path)) if ($time = @filemtime($path))
{ {
$templ = new etemplate(".$app",'','##'); $templ = new etemplate(".$app",'','##');
if ($templ->lang != '##' || $templ->data[0] < $time) // need to import if ($templ->lang != '##' || $templ->data[0] < $time) // need to import