avoid warning on file_exists FS#1428

darcs-hash:20080912212311-7ad00-26249ceb7fb08a442888942072ef2dd8279ab3d2.gz
This commit is contained in:
Andreas Gohr 2008-09-12 23:23:11 +02:00
parent 5f5f3ddc1e
commit de9104dd6c
1 changed files with 1 additions and 1 deletions

View File

@ -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;