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