X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Foutput.php;h=9bef3cf238e2dbcd1adc2558808a90bc0f5037e5;hp=5216da1a07085454311e7dd6a7b4f1d06eb2dbda;hb=70cb8ef9a893f8676290c77b0b83d53363b6914c;hpb=b9c18d6c24e3be4393bf41005aa4e428a0ea3218 diff --git a/inc/output.php b/inc/output.php index 5216da1a..9bef3cf2 100644 --- a/inc/output.php +++ b/inc/output.php @@ -4,9 +4,11 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 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()->getConfigEntry('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] ?>