X-Git-Url: https://git.mxchange.org/?p=qa.git;a=blobdiff_plain;f=index.php;h=2c960e2063ac434d42b882f74d9893082958b1fe;hp=8b912d836af1095186617da6dcecac74a26b237f;hb=7d48b1173f24eeaf6dd70786435af0fc7fbebc18;hpb=8463f52b3c2ab5beaabfd137ba466ecb46fb8765 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()