Constants PATH and _DB_TYPE replaced
[shipsimu.git] / inc / language.php
index 3f7c3859cbc2e97cf2785b8a36c3d056c33ba129..6db17c0ba7bb4ec55caf0da4b4ad868de3734dbf 100644 (file)
@@ -22,7 +22,7 @@
  */
 try {
        $lang = LanguageSystem::createLanguageSystem(sprintf("%s%s",
-               PATH,
+               $cfg->readConfig('base_path'),
                FrameworkConfiguration::getInstance()->readConfig('lang_base_path')
        ));
 } catch (LanguagePathIsEmptyException $e) {