X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=index.php;h=2c960e2063ac434d42b882f74d9893082958b1fe;hp=8b912d836af1095186617da6dcecac74a26b237f;hb=7323e7d76ed5f0b037d0c8b9c82819d9fc8474c7;hpb=08724c72465fcee393eb8e2b5cf3c4c04185f71f 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: %s", $e->getMessage()