]> git.mxchange.org Git - shipsimu.git/commitdiff
Removed obsolete parameter 'applicationInstance' from all template engines
authorRoland Häder <roland@mxchange.org>
Mon, 21 Mar 2011 23:26:16 +0000 (23:26 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 21 Mar 2011 23:26:16 +0000 (23:26 +0000)
index.php

index 8b912d836af1095186617da6dcecac74a26b237f..2c960e2063ac434d42b882f74d9893082958b1fe 100644 (file)
--- 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()