Removed obsolete parameter 'applicationInstance' from all template engines
[mailer.git] / index.php
index 3b7f082544b72dcaebefe3db00e4752fdb4aa922..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()
@@ -176,7 +176,7 @@ final class ApplicationEntryPoint {
         * Determines the correct absolute path for all includes only once per run.
         * Other calls of this method are being "cached".
         *
-        * @return      $basePath       Base path (core) for all includes
+        * @return      $corePath       Base path (core) for all includes
         */
        protected static function detectCorePath () {
                // Is it not set?