Application init phase rewritten, data.php now sets app data
[shipsimu.git] / inc / language.php
index 6db17c0ba7bb4ec55caf0da4b4ad868de3734dbf..b9250e59738f4b3b1921532b1facca6b7694ffcd 100644 (file)
@@ -43,5 +43,8 @@ try {
        ));
 }
 
+// Is the app variable there and valid?
+if (is_object($app)) $app->setLanguageInstance($lang);
+
 // [EOF]
 ?>