public function getInitialPage($app = null) { try { if (($url = $this->callAppMethod($app, 'getInitialPage')) !== null) { return $url; } } catch (Horde_Exception $e) { } if (($webroot = $this->get('webroot', $app)) !== null) { return $webroot . '/' . strval($this->get('initial_page', $app)); } throw new Horde_Exception(sprintf(Horde_Core_Translation::t("\"%s\" is not configured in the Horde Registry."), is_null($app) ? $this->getApp() : $app)); }