]> git.mxchange.org Git - shipsimu.git/commitdiff
Output system is now no longer initialized by loading a centralized
authorRoland Haeder <roland@mxchange.org>
Tue, 24 Mar 2015 18:22:24 +0000 (19:22 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 24 Mar 2015 18:22:24 +0000 (19:22 +0100)
inc/output.php as this was a stupid idea and sometimes the same application
has a console and web part.

Signed-off-by: Roland Haeder <roland@mxchange.org>
application/selector/init.php
application/shipsimu/init.php

index 687da90595ecef1cb38f8e406c6445c17583f791..9a0bd1017e82132d0ba2d47359645f5d7d356a5a 100644 (file)
@@ -29,7 +29,7 @@
 $cfg = FrameworkConfiguration::getSelfInstance();
 
 // Initialize output system
 $cfg = FrameworkConfiguration::getSelfInstance();
 
 // Initialize output system
-require($cfg->getConfigEntry('base_path') . 'inc/output.php');
+ApplicationHelper::createDebugInstance('ApplicationHelper');
 
 // This application needs a database connection then we have to simply include
 // the inc/database.php script
 
 // This application needs a database connection then we have to simply include
 // the inc/database.php script
index d27a1f5a8431b52984a03a4f83ec6cdca7c4a45d..943eb79588665ec8e11e83456e76891f39150b74 100644 (file)
@@ -37,7 +37,7 @@
 $cfg = FrameworkConfiguration::getSelfInstance();
 
 // Initialize output system
 $cfg = FrameworkConfiguration::getSelfInstance();
 
 // Initialize output system
-require($cfg->getConfigEntry('base_path') . 'inc/output.php');
+ApplicationHelper::createDebugInstance('ApplicationHelper');
 
 // This application needs a database connection then we have to simply include
 // the inc/database.php script
 
 // This application needs a database connection then we have to simply include
 // the inc/database.php script