]> git.mxchange.org Git - mailer.git/commitdiff
Debug lines added
authorRoland Häder <roland@mxchange.org>
Sat, 28 Feb 2009 23:54:12 +0000 (23:54 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 28 Feb 2009 23:54:12 +0000 (23:54 +0000)
inc/functions.php
inc/header.php

index e04576056a34b1076468db2d895d1955ff75b1f5..9c34c9544ed63a8b76f3c399575e0f0dcac7eb9b 100644 (file)
@@ -2568,6 +2568,8 @@ 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');
 
@@ -2597,6 +2599,7 @@ 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);
 
index 8d3cd966dae7bd83d2aec88412ae80537774b7ff..50eebd774255d3736a3b39342311559c3f5f3f4b 100644 (file)
@@ -78,10 +78,10 @@ if (($GLOBALS['header_sent'] != "1") && ($GLOBALS['header_sent'] != "2")) {
                                define('__PAGE_TITLE', $TITLE);
                        } elseif ((!isBooleanConstantAndTrue('mxchange_installed')) || (!isBooleanConstantAndTrue('admin_registered'))) {
                                // Load language file because it was missing in installation finalizer step... *sigh*
-                               $FQFN = sprintf("inc/language/install_%s.php",
+                               $INC = sprintf("inc/language/install_%s.php",
                                        GET_LANGUAGE()
                                );
-                               LOAD_INC_ONCE($FQFN);
+                               LOAD_INC_ONCE($INC);
 
                                // Installation mode
                                define('__PAGE_TITLE', getMessage('INSTALLATION_OF_MXCHANGE'));