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 8b912d8..2c960e2 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()