* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-//
-//
-// Get an instance of the initializer
-$eval = sprintf("\$app = %s::getInstance();",
+
+// Generate call-back function
+$callback = sprintf("%s::getInstance",
FrameworkConfiguration::getInstance()->readConfig('app_helper_class')
);
-eval($eval);
+
+// Get an instance of the helper
+$app = call_user_func_array($callback, array());
// Set application name and version
$app->setAppName("Applikationsauswähler");