From 42d5414477d7c97f448404ebb3599b6a719a63ba Mon Sep 17 00:00:00 2001 From: e107steved Date: Sat, 2 Jan 2010 21:43:51 +0000 Subject: [PATCH] Notice removal --- e107_handlers/core_functions.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/e107_handlers/core_functions.php b/e107_handlers/core_functions.php index 5e3bc2679..f889022aa 100644 --- a/e107_handlers/core_functions.php +++ b/e107_handlers/core_functions.php @@ -9,9 +9,9 @@ * e107 Core functions * * $Source: /cvs_backup/e107_0.8/e107_handlers/core_functions.php,v $ - * $Revision: 1.5 $ - * $Date: 2009-12-27 13:56:14 $ - * $Author: e107coders $ + * $Revision: 1.6 $ + * $Date: 2010-01-02 21:43:31 $ + * $Author: e107steved $ */ // @@ -108,7 +108,7 @@ function deftrue($str, $default='') function e107_include($fname) { global $e107_debug, $_E107; - $ret = (($e107_debug || $_E107['debug']) ? include($fname) : @include($fname)); + $ret = (($e107_debug || isset($_E107['debug'])) ? include($fname) : @include($fname)); return $ret; } @@ -117,7 +117,7 @@ function e107_include_once($fname) global $e107_debug, $_E107; if(is_readable($fname)) { - $ret = ($e107_debug || $_E107['debug']) ? include_once($fname) : @include_once($fname); + $ret = ($e107_debug || isset($_E107['debug'])) ? include_once($fname) : @include_once($fname); } return (isset($ret)) ? $ret : ''; } @@ -126,7 +126,7 @@ function e107_require_once($fname) { global $e107_debug, $_E107; - $ret = (($e107_debug || $_E107['debug']) ? require_once($fname) : @require_once($fname)); + $ret = (($e107_debug || isset($_E107['debug'])) ? require_once($fname) : @require_once($fname)); return $ret; } @@ -134,7 +134,7 @@ function e107_require_once($fname) function e107_require($fname) { global $e107_debug, $_E107; - $ret = (($e107_debug || $_E107['debug']) ? require($fname) : @require($fname)); + $ret = (($e107_debug || isset($_E107['debug'])) ? require($fname) : @require($fname)); return $ret; }