- if (count($installed_extensions) > 0)
- {
- foreach ($installed_extensions as $ext)
- {
- $_SESSION['get_text']->add_domain($_SESSION['language']->code,
- $ext['folder']."/lang");
- $class = $ext['name']."_app";
- $this->add_application(new $class());
- $_SESSION['get_text']->add_domain($_SESSION['language']->code,
- $path_to_root."/lang");
- }
- }
-