X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Flanguage.php;h=7f63099c00b277fe319d48e24b60515d92479962;hp=8fe75091b0cb12b8cf73357debfffda7fa867242;hb=b66bceda2b37dcf421e4d8f5bc007c8b7f7863c7;hpb=d52325bd183b93d3400cd549169d04590b9c32b9 diff --git a/inc/language.php b/inc/language.php index 8fe75091..7f63099c 100644 --- a/inc/language.php +++ b/inc/language.php @@ -21,10 +21,10 @@ * along with this program. If not, see . */ try { - $lang = LanguageSystem::createLanguageSystem(sprintf("%s%s", - $cfg->readConfig('base_path'), + $lang = LanguageSystem::createLanguageSystem( + $cfg->readConfig('base_path'). FrameworkConfiguration::getInstance()->readConfig('lang_base_path') - )); + ); } catch (LanguagePathIsEmptyException $e) { ApplicationEntryPoint::app_die(sprintf("[Main:] The language sub-system could not be initialized for the following reason: %s", $e->getMessage()