*
* 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
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,