]> git.mxchange.org Git - core.git/commitdiff
Separated this config entry for console/html as well.
authorRoland Haeder <roland@mxchange.org>
Sun, 16 Aug 2015 09:38:13 +0000 (11:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 16 Aug 2015 09:38:13 +0000 (11:38 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/class_BaseFrameworkSystem.php
inc/classes/main/output/debug/console/class_DebugConsoleOutput.php
inc/config.php

index e3d1584869e1be61fc0b5ea8c26bbc48737a5341..26fa6fa263ffee08be735d41afde960a9d348790 100644 (file)
@@ -1946,7 +1946,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                        } // END - if
                } else {
                        // Are debug times enabled?
-                       if ($this->getConfigInstance()->getConfigEntry('debug_output_timings') == 'Y') {
+                       if ($this->getConfigInstance()->getConfigEntry('debug_' . self::getResponseTypeFromSystem() . '_output_timings') == 'Y') {
                                // Prepent it
                                $message = $this->getPrintableExecutionTime() . $message;
                        } // END - if
index d759159856756b7e6a7e585be012a0b3364f051e..3598cc18e74804a62f536d465863638c275d0cdf 100644 (file)
@@ -63,7 +63,7 @@ class DebugConsoleOutput extends BaseDebugOutput implements Debugger, OutputStre
                }
 
                // Are debug times enabled?
-               if ($this->getConfigInstance()->getConfigEntry('debug_output_timings') == 'Y') {
+               if ($this->getConfigInstance()->getConfigEntry('debug_' . self::getResponseTypeFromSystem() . '_output_timings') == 'Y') {
                        // Output it first
                        $output = $this->getPrintableExecutionTime() . $output;
                } // END - if
index f7cd0c7f9600036158e1eac30cd373bcb531e598..f42bd1a3a0727f379b3c159a5572e9a483d72c81 100644 (file)
@@ -341,8 +341,11 @@ $cfg->setConfigEntry('local_file_database_class', 'CachedLocalFileDatabase');
 // CFG: COMPRESSOR-CHANNEL-CLASS
 $cfg->setConfigEntry('compressor_channel_class', 'CompressorChannel');
 
-// CFG: DEBUG-OUTPUT-TIMINGS
-$cfg->setConfigEntry('debug_output_timings', 'N');
+// CFG: DEBUG-HTML-OUTPUT-TIMINGS
+$cfg->setConfigEntry('debug_html_output_timings', 'N');
+
+// CFG: DEBUG-CONSOLE-OUTPUT-TIMINGS
+$cfg->setConfigEntry('debug_console_output_timings', 'Y');
 
 // CFG: PROXY-HOST
 $cfg->setConfigEntry('proxy_host', '');