mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Notice removal
This commit is contained in:
parent
38aa26891d
commit
42d5414477
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user