From a04b7efb8bda88d8dd5fe369d191cbd7515458c7 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 24 Mar 2015 19:22:24 +0100 Subject: [PATCH] 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 --- application/selector/init.php | 2 +- application/shipsimu/init.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2