X-Git-Url: https://git.mxchange.org/?p=qa.git;a=blobdiff_plain;f=index.php;h=2c960e2063ac434d42b882f74d9893082958b1fe;hp=3b7f082544b72dcaebefe3db00e4752fdb4aa922;hb=877d1a4d222951a39355162e0a5f67b65848ddd2;hpb=a876a77c054bc5cf198f29c15ddd5f7a7b8fbb05 diff --git a/index.php b/index.php index 3b7f082..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() @@ -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?