X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Finc-functions.php;h=7279db570a12ac27aada5b7f362c61363900b367;hb=c6e62b16b4474ead6b180a5b9648906459d846da;hp=163fec15f76069ca49b730fd6b519604329ab076;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/inc/inc-functions.php b/inc/inc-functions.php index 163fec15f7..7279db570a 100644 --- a/inc/inc-functions.php +++ b/inc/inc-functions.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -131,9 +131,6 @@ function loadInclude ($inc) { // Loads an include file once function loadIncludeOnce ($inc) { - // Remove double path - $inc = str_replace(getPath(), '', $inc); - // Is it not loaded? if (!isset($GLOBALS['load_once'][$inc])) { // Mark it as loaded @@ -148,9 +145,6 @@ function loadIncludeOnce ($inc) { function isIncludeReadable ($inc) { // Do we have cache? if (!isset($GLOBALS['inc_readable'][$inc])) { - // Remove double path - $inc = str_replace(getPath(), '', $inc); - // Construct FQFN $FQFN = getPath() . $inc;