diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-09-12 23:23:11 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-09-12 23:23:11 +0200 |
commit | de9104dd6cb8aa34ab1fabb96a65606cd426c32b (patch) | |
tree | defa5ead0654d52972532c3d6d426518cf7e9f07 | |
parent | 5f5f3ddc1ef5e7d6c78250d38008f42b508a720a (diff) | |
download | rpg-de9104dd6cb8aa34ab1fabb96a65606cd426c32b.tar.gz rpg-de9104dd6cb8aa34ab1fabb96a65606cd426c32b.tar.bz2 |
avoid warning on file_exists FS#1428
darcs-hash:20080912212311-7ad00-26249ceb7fb08a442888942072ef2dd8279ab3d2.gz
-rw-r--r-- | inc/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |