From d818621633e2c687264682f0504869858f9c780d Mon Sep 17 00:00:00 2001 From: Ben Coburn Date: Fri, 8 Sep 2006 21:34:33 +0200 Subject: 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 --- inc/pluginutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/pluginutils.php') diff --git a/inc/pluginutils.php b/inc/pluginutils.php index a93cca936..0adba09f3 100644 --- a/inc/pluginutils.php +++ b/inc/pluginutils.php @@ -73,7 +73,7 @@ function &plugin_load($type,$name){ } //try to load the wanted plugin file - if (file_exists(DOKU_PLUGIN."$name/$type.php")){ + if (@file_exists(DOKU_PLUGIN."$name/$type.php")){ include_once(DOKU_PLUGIN."$name/$type.php"); }else{ list($plugin, $component) = preg_split("/_/",$name, 2); -- cgit v1.2.3