From: Roland Häder <roland@mxchange.org>
Date: Mon, 21 Mar 2011 23:26:16 +0000 (+0000)
Subject: Removed obsolete parameter 'applicationInstance' from all template engines
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7323e7d76ed5f0b037d0c8b9c82819d9fc8474c7;p=shipsimu.git

Removed obsolete parameter 'applicationInstance' from all template engines
---

diff --git a/index.php b/index.php
index 8b912d8..2c960e2 100644
--- a/index.php
+++ b/index.php
@@ -98,7 +98,7 @@ final class ApplicationEntryPoint {
 			// Use the template engine for putting out (nicer look) the message
 			try {
 				// Get the template instance from our object factory
-				$templateInstance = ObjectFactory::createObjectByName($tpl, array(ApplicationHelper::getInstance()));
+				$templateInstance = ObjectFactory::createObjectByName($tpl);
 			} catch (FrameworkException $e) {
 				die(sprintf("[Main:] Could not initialize template engine for reason: <span class=\"exception_reason\">%s</span>",
 					$e->getMessage()