X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=d0a0f08361ceff596a042e23541b363f29980150;hb=96ef029e838836b7116290cdcb541ace4e183e35;hp=86b8c446eee1fe7a23977e4d6c4cca8afe599af1;hpb=6a235495afbc92d4116f94be590d40feb1ad7905;p=shipsimu.git diff --git a/index.php b/index.php index 86b8c44..d0a0f08 100644 --- a/index.php +++ b/index.php @@ -65,7 +65,7 @@ class ApplicationEntryPoint { if ((class_exists($tpl)) && (is_object($lang)) && (is_object($io))) { // Use the template engine for putting out (nicer look) the message try { - $eval = sprintf("\$tplEngine = %s::create%s(\"%s%s\", LanguageSystem::getInstance(), FileIOHandler::getInstance());", + $eval = sprintf("\$tplEngine = %s::create%s(\"%s%s\", \$lang, \$io);", FrameworkConfiguration::getInstance()->readConfig("tpl_engine"), FrameworkConfiguration::getInstance()->readConfig("tpl_engine"), PATH,