X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Foutput.php;h=a3ec653197876128244ca511f204e09bd61567c2;hb=751eb8f244d16fd11d3cecfc4335bc4003dd6b18;hp=603fae75158edc1c6c2146fdfb88756d11380284;hpb=0cd57c3885f00ad77fc599e53ed2f2d5e7ac267f;p=core.git diff --git a/inc/output.php b/inc/output.php index 603fae75..a3ec6531 100644 --- a/inc/output.php +++ b/inc/output.php @@ -7,6 +7,8 @@ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org + * @deprecated + * @todo We should minimize these includes * * 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 @@ -23,7 +25,7 @@ */ // Get a debugger instance -$debug = DebugMiddleware::createDebugMiddleware(FrameworkConfiguration::getInstance()->readConfig('debug_class')); +$debug = DebugMiddleware::createDebugMiddleware(FrameworkConfiguration::getInstance()->getConfigEntry('debug_class')); // Empty string should be ignored and used for testing the middleware DebugMiddleware::getInstance()->output('');