summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
authorBen Coburn <btcoburn@silicodon.net>2006-09-08 21:34:33 +0200
committerBen Coburn <btcoburn@silicodon.net>2006-09-08 21:34:33 +0200
commitd818621633e2c687264682f0504869858f9c780d (patch)
tree47988890038f1229b3040a7deefaf523e075b367 /inc/init.php
parent4b5f4f4ed319790fe7f0729560616b55c4e64715 (diff)
downloadrpg-d818621633e2c687264682f0504869858f9c780d.tar.gz
rpg-d818621633e2c687264682f0504869858f9c780d.tar.bz2
suppress boring errors
Suppress any errors from set_time_limit, unlink, and file_exists functions. see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html darcs-hash:20060908193433-05dcb-013617431870ab5bfb2ce8c6e99ba5af13493228.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 69dd4766b..2ba16c2c3 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -17,7 +17,7 @@
if(!defined('DOKU_CONF')) define('DOKU_CONF',DOKU_INC.'conf/');
// check for error reporting override or set error reporting to sane values
- if (!defined('DOKU_E_LEVEL') && file_exists(DOKU_CONF.'report_e_all')) {
+ if (!defined('DOKU_E_LEVEL') && @file_exists(DOKU_CONF.'report_e_all')) {
define('DOKU_E_LEVEL', E_ALL);
}
if (!defined('DOKU_E_LEVEL')) { error_reporting(E_ALL ^ E_NOTICE); }