avoid warning on file_exists FS#1428
darcs-hash:20080912212311-7ad00-26249ceb7fb08a442888942072ef2dd8279ab3d2.gz
This commit is contained in:
parent
5f5f3ddc1e
commit
de9104dd6c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue