From 2c0154782f1e84e1bcf2517a910abe2ceab28ae6 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 13 Aug 2008 10:25:15 +0000 Subject: Removing an error log entry in the page handler function git-svn-id: https://code.elgg.org/elgg/trunk@1878 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/pagehandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/lib/pagehandler.php b/engine/lib/pagehandler.php index 471f776f9..97357b19f 100644 --- a/engine/lib/pagehandler.php +++ b/engine/lib/pagehandler.php @@ -106,7 +106,7 @@ $script = str_replace("..","",$script); $callpath = $CONFIG->path . $handler . "/" . $page; - if (!include($callpath)) { + if (!@include($callpath)) { if (substr_count($callpath,'.php') == 0) { if (substr($callpath,strlen($callpath) - 1, 1) != "/") $callpath .= "/"; -- cgit v1.2.3