X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Foutput.php;h=1e6705656c638f14282ed3b5715e1ef7bc343bf0;hp=0f826ad9070c76ad2cb501e6b67be53baa7f1a16;hb=a34a10c85ac693d6d2c183258eb36deb353d003e;hpb=3107989f93cfb5808ce9d75f1c7d2b7ee3d83d18;ds=sidebyside diff --git a/inc/output.php b/inc/output.php index 0f826ad9..1e670565 100644 --- a/inc/output.php +++ b/inc/output.php @@ -4,9 +4,11 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 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('');