]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/cache_functions.php
Inconsistency between echo and print() fixed to OUTPUT_HTML() (not all)
[mailer.git] / inc / libs / cache_functions.php
index a34313d1eb37053b5b06f6e32856b185d86909ad..53e4847e901fb0526959b214b132ba8674e953d0 100644 (file)
@@ -176,7 +176,7 @@ class CacheSystem {
 
                        // Remove pointer
                        $this->pointer = false;
-                       //* DEBUG: */ print __METHOD__."(<font color=\"#0000aa\">".__LINE__."</font>): {$this->name} - FINALIZED!<br />\n";
+                       //* DEBUG: */ OUTPUT_HTML(__METHOD__."(<font color=\"#0000aa\">".__LINE__."</font>): {$this->name} - FINALIZED!<br />");
                } // END - if
        }
 
@@ -381,7 +381,7 @@ class CacheSystem {
 
                        // Add the extension version to object (DO NOT REMOVE IT! Endless loop...)
                        $this->version[$this->name][$ext_name] = $ext_ver;
-                       //* DEBUG: */ print __METHOD__."(<font color=\"#0000aa\">".__LINE__."</font>): {$this->name} - {$ext_name}={$ext_ver}<br />\n";
+                       //* DEBUG: */ OUTPUT_HTML(__METHOD__."(<font color=\"#0000aa\">".__LINE__."</font>): {$this->name} - {$ext_name}={$ext_ver}<br />");
                } else {
                        // Cannot create file
                        addFatalMessage(__METHOD__, __LINE__, "(<font color=\"#0000aa\">".__LINE__."</font>): ".getMessage('CACHE_PROBLEMS_DETECTED'));
@@ -398,7 +398,7 @@ class CacheSystem {
 
                // Debug messages
                if (isset($this->version[$this->name][$ext_name])) {
-                       //* DEBUG: */ print __METHOD__."(<font color=\"#0000aa\">".__LINE__."</font>): cache={$this->name},ext_name={$ext_name} - {$ext_ver}/{$this->version[$this->name][$ext_name]}<br />\n";
+                       //* DEBUG: */ OUTPUT_HTML(__METHOD__."(<font color=\"#0000aa\">".__LINE__."</font>): cache={$this->name},ext_name={$ext_name} - {$ext_ver}/{$this->version[$this->name][$ext_name]}<br />");
                } else {
                        // No cache version found!
                        DEBUG_LOG(__METHOD__, __LINE__, "Cache {$this->name} has missing version entry for extension {$ext_name}!");