X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Flanguage.php;h=52dbea7da82989f45d28c3369ea569bfa15dd7a6;hp=627baabe4b4daf1e9251e8e3cc68cd70c62da280;hb=4b88c118b615335d06bd74e444173d21aef4406c;hpb=0cd57c3885f00ad77fc599e53ed2f2d5e7ac267f diff --git a/inc/language.php b/inc/language.php index 627baabe..52dbea7d 100644 --- a/inc/language.php +++ b/inc/language.php @@ -4,8 +4,10 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team * @license GNU GPL 3.0 or any newer version + * @deprecated + * @todo We should minimize these includes * * 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 @@ -23,8 +25,8 @@ // Try to instance the language system $lang = LanguageSystem::createLanguageSystem( - FrameworkConfiguration::getInstance()->readConfig('base_path'). - FrameworkConfiguration::getInstance()->readConfig('lang_base_path') + FrameworkConfiguration::getInstance()->getConfigEntry('base_path'). + FrameworkConfiguration::getInstance()->getConfigEntry('lang_base_path') ); // Is the app variable there and valid?