X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Foutput.php;h=59c3994e4d3019c507d392cad0dfbe6da1171eed;hp=83c1372cae33724b2be7039e772a65e2292ed75c;hb=c3021952494266e05bfa9046baf9bcd11bfe7d13;hpb=c6d73b0e3246efc824cb98338d4be7ee5bc9f308 diff --git a/inc/output.php b/inc/output.php index 83c1372c..59c3994e 100644 --- a/inc/output.php +++ b/inc/output.php @@ -2,11 +2,13 @@ /** * Initializes the output middleware layer * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org + * @deprecated + * @todo 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,10 +25,10 @@ */ // Get a debugger instance -$debug = DebugMiddleware::createDebugMiddleware(FrameworkConfiguration::getInstance()->readConfig('debug_class')); +$debug = DebugMiddleware::createDebugMiddleware(FrameworkConfiguration::getSelfInstance()->getConfigEntry('debug_class')); // Empty string should be ignored and used for testing the middleware -DebugMiddleware::getInstance()->output(""); +DebugMiddleware::getSelfInstance()->output(''); // [EOF] ?>