--- /dev/null
+<?php
+/**
+ * Try to initializes the language system
+ */
+try {
+ $lang = LanguageSystem::createLanguageSystem(sprintf("%s%s",
+ PATH,
+ FrameworkConfiguration::getInstance()->readConfig("lang_base_path")
+ ));
+} catch (LanguagePathIsEmptyException $e) {
+ ApplicationEntryPoint::app_die(sprintf("[Main:] Sprachsystem konnte nicht initialisiert werden. Reason: <strong>%s</strong>",
+ $e->getMessage()
+ ));
+} catch (InvalidLanguagePathStringException $e) {
+ ApplicationEntryPoint::app_die(sprintf("[Main:] Sprachsystem konnte nicht initialisiert werden. Reason: <strong>%s</strong>",
+ $e->getMessage()
+ ));
+} catch (LanguagePathIsNoDirectoryException $e) {
+ ApplicationEntryPoint::app_die(sprintf("[Main:] Sprachsystem konnte nicht initialisiert werden. Reason: <strong>%s</strong>",
+ $e->getMessage()
+ ));
+} catch (LanguagePathReadProtectedException $e) {
+ ApplicationEntryPoint::app_die(sprintf("[Main:] Sprachsystem konnte nicht initialisiert werden. Reason: <strong>%s</strong>",
+ $e->getMessage()
+ ));
+}
+
+// [EOF]
+?>