Debug lines removed, type rewritten
authorRoland Häder <roland@mxchange.org>
Sat, 28 Feb 2009 23:58:42 +0000 (23:58 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 28 Feb 2009 23:58:42 +0000 (23:58 +0000)
inc/functions.php

index 9c34c9544ed63a8b76f3c399575e0f0dcac7eb9b..61aeeddf3813c7f85871d60e80c68efaee69a869 100644 (file)
@@ -2568,8 +2568,6 @@ function getActualVersion ($type = 0) {
 
 // Loads an include file and logs any missing files for debug purposes
 function LOAD_INC ($INC) {
-       echo "LOAD:{$INC}<br />\n";
-
        // Get constant path
        $PATH = constant('PATH');
 
@@ -2599,12 +2597,11 @@ function LOAD_INC ($INC) {
 function LOAD_INC_ONCE ($INC) {
        // Is it not loaded?
        if (!isset($GLOBALS['cache_array']['load_once'][$INC])) {
-               echo "ONCE:{$INC}<br />\n";
                // Then try to load it
                LOAD_INC($INC);
 
                // And mark it as loaded
-               $GLOBALS['cache_array']['load_once'][$INC] = true;
+               $GLOBALS['cache_array']['load_once'][$INC] = "loaded";
        } // END - if
 }