X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Foutput.php;h=6dbafafa8659bffd58e2058c7684d6018fc383b6;hp=c23d0ffdb289eedeb4f1ba79929f44d2433cd985;hb=768cc231b262ebeaa5aec373d9b7d97cc6b6ac95;hpb=361e6320e50a8bb1a3ccb675388b8042361669ae diff --git a/inc/output.php b/inc/output.php index c23d0ffd..6dbafafa 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,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] ?>