0, ); $defConfig = array_merge($defConfig, $parameters); $profile = (int)$defConfig['profile']; if ($profile <= 0) { $profile = 1; } $session = Application::getInstance()->getContainer()->segment; $session->set('profile', $profile); // Load the configuration Platform::getInstance()->load_configuration($profile); /** @var \Solo\Model\Fsfilters $model */ $model = new Fsfilters(); return $model->get_roots(); } }