]> git.mxchange.org Git - hub.git/blobdiff - index.php
Removed obsolete parameter 'applicationInstance' from all template engines
[hub.git] / index.php
index f374e7e34b811bc5193e06f84741d2de2b25fbcd..050f99828af55bc8ab08e546b97c8f216533b830 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()