From de9104dd6cb8aa34ab1fabb96a65606cd426c32b Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 12 Sep 2008 23:23:11 +0200 Subject: avoid warning on file_exists FS#1428 darcs-hash:20080912212311-7ad00-26249ceb7fb08a442888942072ef2dd8279ab3d2.gz --- inc/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/init.php') diff --git a/inc/init.php b/inc/init.php index 58056083d..b01711e4b 100644 --- a/inc/init.php +++ b/inc/init.php @@ -458,7 +458,7 @@ function fullpath($path){ if(!$iswin) $finalpath = '/'.$finalpath; // check then return valid path or filename - if (file_exists($finalpath)) { + if (@file_exists($finalpath)) { return ($finalpath); } else return false; -- cgit v1.2.3