From: Michael M Slusarz Date: Wed, 23 Dec 2009 04:07:51 +0000 (-0700) Subject: Link fileroots to horde's fileroot, so it is easier to change X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7faeff802c83f1e73faefe4d97128526470ea041;p=horde.git Link fileroots to horde's fileroot, so it is easier to change --- diff --git a/horde/config/registry.php.dist b/horde/config/registry.php.dist index cf42d6b5a..4f1104742 100644 --- a/horde/config/registry.php.dist +++ b/horde/config/registry.php.dist @@ -54,7 +54,7 @@ $this->applications['horde'] = array( ); $this->applications['imp'] = array( - 'fileroot' => dirname(__FILE__) . '/../imp', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../imp', 'webroot' => $this->applications['horde']['webroot'] . '/imp', 'name' => _("Mail"), 'status' => 'active', @@ -62,7 +62,7 @@ $this->applications['imp'] = array( ); $this->applications['ingo'] = array( - 'fileroot' => dirname(__FILE__) . '/../ingo', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../ingo', 'webroot' => $this->applications['horde']['webroot'] . '/ingo', 'name' => _("Filters"), 'status' => 'active', @@ -71,7 +71,7 @@ $this->applications['ingo'] = array( ); $this->applications['sam'] = array( - 'fileroot' => dirname(__FILE__) . '/../sam', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../sam', 'webroot' => $this->applications['horde']['webroot'] . '/sam', 'name' => _("Spam"), 'status' => 'active', @@ -82,7 +82,7 @@ $this->applications['sam'] = array( ); $this->applications['forwards'] = array( - 'fileroot' => dirname(__FILE__) . '/../forwards', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../forwards', 'webroot' => $this->applications['horde']['webroot'] . '/forwards', 'name' => _("Forwards"), 'status' => 'active', @@ -91,7 +91,7 @@ $this->applications['forwards'] = array( ); $this->applications['vacation'] = array( - 'fileroot' => dirname(__FILE__) . '/../vacation', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../vacation', 'webroot' => $this->applications['horde']['webroot'] . '/vacation', 'name' => _("Vacation"), 'status' => 'active', @@ -112,7 +112,7 @@ $this->applications['organizing'] = array( ); $this->applications['turba'] = array( - 'fileroot' => dirname(__FILE__) . '/../turba', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../turba', 'webroot' => $this->applications['horde']['webroot'] . '/turba', 'name' => _("Address Book"), 'status' => 'active', @@ -128,7 +128,7 @@ $this->applications['turba-menu'] = array( ); $this->applications['kronolith'] = array( - 'fileroot' => dirname(__FILE__) . '/../kronolith', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../kronolith', 'webroot' => $this->applications['horde']['webroot'] . '/kronolith', 'name' => _("Calendar"), 'status' => 'active', @@ -151,7 +151,7 @@ $this->applications['kronolith-menu'] = array( ); $this->applications['nag'] = array( - 'fileroot' => dirname(__FILE__) . '/../nag', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../nag', 'webroot' => $this->applications['horde']['webroot'] . '/nag', 'name' => _("Tasks"), 'status' => 'active', @@ -174,7 +174,7 @@ $this->applications['nag-menu'] = array( ); $this->applications['mnemo'] = array( - 'fileroot' => dirname(__FILE__) . '/../mnemo', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../mnemo', 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', 'name' => _("Notes"), 'status' => 'active', @@ -190,7 +190,7 @@ $this->applications['mnemo-menu'] = array( ); $this->applications['genie'] = array( - 'fileroot' => dirname(__FILE__) . '/../genie', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../genie', 'webroot' => $this->applications['horde']['webroot'] . '/genie', 'name' => _("Wishlist"), 'status' => 'active', @@ -199,7 +199,7 @@ $this->applications['genie'] = array( ); $this->applications['trean'] = array( - 'fileroot' => dirname(__FILE__) . '/../trean', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../trean', 'webroot' => $this->applications['horde']['webroot'] . '/trean', 'name' => _("Bookmarks"), 'status' => 'active', @@ -220,7 +220,7 @@ $this->applications['devel'] = array( ); $this->applications['chora'] = array( - 'fileroot' => dirname(__FILE__) . '/../chora', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../chora', 'webroot' => $this->applications['horde']['webroot'] . '/chora', 'name' => _("Version Control"), 'status' => 'active', @@ -235,7 +235,7 @@ $this->applications['chora-menu'] = array( ); $this->applications['whups'] = array( - 'fileroot' => dirname(__FILE__) . '/../whups', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../whups', 'webroot' => $this->applications['horde']['webroot'] . '/whups', 'name' => _("Tickets"), 'status' => 'active', @@ -251,7 +251,7 @@ $this->applications['whups-menu'] = array( ); $this->applications['luxor'] = array( - 'fileroot' => dirname(__FILE__) . '/../luxor', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../luxor', 'webroot' => $this->applications['horde']['webroot'] . '/luxor', 'name' => _("X-Ref"), 'status' => 'active', @@ -264,7 +264,7 @@ $this->applications['info'] = array( ); $this->applications['klutz'] = array( - 'fileroot' => dirname(__FILE__) . '/../klutz', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../klutz', 'webroot' => $this->applications['horde']['webroot'] . '/klutz', 'name' => _("Comics"), 'status' => 'active', @@ -273,7 +273,7 @@ $this->applications['klutz'] = array( ); $this->applications['mottle'] = array( - 'fileroot' => dirname(__FILE__) . '/../mottle', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../mottle', 'webroot' => $this->applications['horde']['webroot'] . '/mottle', 'name' => _("MOTD"), 'status' => 'active', @@ -281,7 +281,7 @@ $this->applications['mottle'] = array( ); $this->applications['jonah'] = array( - 'fileroot' => dirname(__FILE__) . '/../jonah', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../jonah', 'webroot' => $this->applications['horde']['webroot'] . '/jonah', 'name' => _("News"), 'status' => 'active', @@ -297,7 +297,7 @@ $this->applications['jonah-menu'] = array( ); $this->applications['goops'] = array( - 'fileroot' => dirname(__FILE__) . '/../goops', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../goops', 'webroot' => $this->applications['horde']['webroot'] . '/goops', 'name' => _("Search Engines"), 'status' => 'active', @@ -310,7 +310,7 @@ $this->applications['office'] = array( ); $this->applications['juno'] = array( - 'fileroot' => dirname(__FILE__) . '/../juno', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../juno', 'webroot' => $this->applications['horde']['webroot'] . '/juno', 'name' => _("Accounting"), 'status' => 'active', @@ -318,7 +318,7 @@ $this->applications['juno'] = array( ); $this->applications['midas'] = array( - 'fileroot' => dirname(__FILE__) . '/../midas', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../midas', 'webroot' => $this->applications['horde']['webroot'] . '/midas', 'name' => _("Ads"), 'status' => 'active', @@ -326,7 +326,7 @@ $this->applications['midas'] = array( ); $this->applications['sesha'] = array( - 'fileroot' => dirname(__FILE__) . '/../sesha', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../sesha', 'webroot' => $this->applications['horde']['webroot'] . '/sesha', 'name' => _("Inventory"), 'status' => 'active', @@ -338,7 +338,7 @@ $this->applications['sesha'] = array( ); $this->applications['hermes'] = array( - 'fileroot' => dirname(__FILE__) . '/../hermes', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../hermes', 'webroot' => $this->applications['horde']['webroot'] . '/hermes', 'name' => _("Time Tracking"), 'status' => 'active', @@ -366,7 +366,7 @@ $this->applications['myaccount'] = array( ); $this->applications['gollem'] = array( - 'fileroot' => dirname(__FILE__) . '/../gollem', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../gollem', 'webroot' => $this->applications['horde']['webroot'] . '/gollem', 'name' => _("File Manager"), 'status' => 'active', @@ -382,7 +382,7 @@ $this->applications['gollem-menu'] = array( ); $this->applications['passwd'] = array( - 'fileroot' => dirname(__FILE__) . '/../passwd', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../passwd', 'webroot' => $this->applications['horde']['webroot'] . '/passwd', 'name' => _("Password"), 'status' => 'active', @@ -390,7 +390,7 @@ $this->applications['passwd'] = array( ); $this->applications['jeta'] = array( - 'fileroot' => dirname(__FILE__) . '/../jeta', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../jeta', 'webroot' => $this->applications['horde']['webroot'] . '/jeta', 'name' => _("SSH"), 'status' => 'active', @@ -403,7 +403,7 @@ $this->applications['website'] = array( ); $this->applications['agora'] = array( - 'fileroot' => dirname(__FILE__) . '/../agora', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../agora', 'webroot' => $this->applications['horde']['webroot'] . '/agora', 'name' => _("Forums"), 'status' => 'active', @@ -412,7 +412,7 @@ $this->applications['agora'] = array( ); $this->applications['ulaform'] = array( - 'fileroot' => dirname(__FILE__) . '/../ulaform', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../ulaform', 'webroot' => $this->applications['horde']['webroot'] . '/ulaform', 'name' => _("Forms"), 'status' => 'active', @@ -420,7 +420,7 @@ $this->applications['ulaform'] = array( ); $this->applications['volos'] = array( - 'fileroot' => dirname(__FILE__) . '/../volos', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../volos', 'webroot' => $this->applications['horde']['webroot'] . '/volos', 'name' => _("Guestbook"), 'status' => 'active', @@ -428,7 +428,7 @@ $this->applications['volos'] = array( ); $this->applications['ansel'] = array( - 'fileroot' => dirname(__FILE__) . '/../ansel', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../ansel', 'webroot' => $this->applications['horde']['webroot'] . '/ansel', 'name' => _("Photos"), 'status' => 'active', @@ -437,7 +437,7 @@ $this->applications['ansel'] = array( ); $this->applications['scry'] = array( - 'fileroot' => dirname(__FILE__) . '/../scry', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../scry', 'webroot' => $this->applications['horde']['webroot'] . '/scry', 'name' => _("Polls"), 'status' => 'active', @@ -446,7 +446,7 @@ $this->applications['scry'] = array( ); $this->applications['merk'] = array( - 'fileroot' => dirname(__FILE__) . '/../merk', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../merk', 'webroot' => $this->applications['horde']['webroot'] . '/merk', 'name' => _("Shopping"), 'status' => 'active', @@ -455,7 +455,7 @@ $this->applications['merk'] = array( ); $this->applications['wicked'] = array( - 'fileroot' => dirname(__FILE__) . '/../wicked', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../wicked', 'webroot' => $this->applications['horde']['webroot'] . '/wicked', 'name' => _("Wiki"), 'status' => 'active', @@ -464,7 +464,7 @@ $this->applications['wicked'] = array( ); $this->applications['vilma'] = array( - 'fileroot' => dirname(__FILE__) . '/../vilma', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../vilma', 'webroot' => $this->applications['horde']['webroot'] . '/vilma', 'name' => _("Mail Admin"), 'status' => 'active', @@ -472,7 +472,7 @@ $this->applications['vilma'] = array( ); $this->applications['nic'] = array( - 'fileroot' => dirname(__FILE__) . '/../nic', + 'fileroot' => $this->applications['horde']['fileroot'] . '/../nic', 'webroot' => $this->applications['horde']['webroot'] . '/nic', 'name' => _("Network Tools"), 'status' => 'active',