From: Roland Haeder <roland@mxchange.org>
Date: Tue, 24 Mar 2015 18:22:24 +0000 (+0100)
Subject: Output system is now no longer initialized by loading a centralized
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a04b7efb8bda88d8dd5fe369d191cbd7515458c7;p=shipsimu.git

Output system is now no longer initialized by loading a centralized
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>
---

diff --git a/application/selector/init.php b/application/selector/init.php
index 687da90..9a0bd10 100644
--- a/application/selector/init.php
+++ b/application/selector/init.php
@@ -29,7 +29,7 @@
 $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
diff --git a/application/shipsimu/init.php b/application/shipsimu/init.php
index d27a1f5..943eb79 100644
--- a/application/shipsimu/init.php
+++ b/application/shipsimu/init.php
@@ -37,7 +37,7 @@
 $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