]> git.mxchange.org Git - shipsimu.git/blobdiff - index.php
Removed
[shipsimu.git] / index.php
index 3a96063496572183943297f9c4010843b8456bb0..d0a0f08361ceff596a042e23541b363f29980150 100644 (file)
--- a/index.php
+++ b/index.php
@@ -7,10 +7,11 @@
  *
  * But good little boys and girls would always initialize their variables... ;-)
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0
+ * @author             Roland Haeder <webmaster@mxchange.org>
+ * @version            0.3.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
+ * @link               http://www.mxchange.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -64,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,