]> git.mxchange.org Git - mailer.git/blobdiff - inc/inc-functions.php
Hotfix
[mailer.git] / inc / inc-functions.php
index 43ac1d9f4385be0412abe0974db13ce2395eb2c5..2534856c2c757d7cc51a76c5d89ade3138d4d11f 100644 (file)
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -133,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
@@ -150,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;