summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-09-12 23:23:11 +0200
committerAndreas Gohr <andi@splitbrain.org>2008-09-12 23:23:11 +0200
commitde9104dd6cb8aa34ab1fabb96a65606cd426c32b (patch)
treedefa5ead0654d52972532c3d6d426518cf7e9f07 /inc/init.php
parent5f5f3ddc1ef5e7d6c78250d38008f42b508a720a (diff)
downloadrpg-de9104dd6cb8aa34ab1fabb96a65606cd426c32b.tar.gz
rpg-de9104dd6cb8aa34ab1fabb96a65606cd426c32b.tar.bz2
avoid warning on file_exists FS#1428
darcs-hash:20080912212311-7ad00-26249ceb7fb08a442888942072ef2dd8279ab3d2.gz
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php2
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;