Working with Routes

Table of Contents

  1. Setup
  2. Caveats
  3. Related links


  • works with >= PHP 5.2.3
  • set your pear package manager to the system pear repo
$ pear channel-discover
$ pear install horde/Horde_Routes
  • login as admin and in Config -> General
Input URL handlers = Horde_Routes
Additional include path = /path/to/pear/system/dir
  • edit your routes here

That's it for now.


  • When using Horde_Routes single arg url construction invalid, eg: SGL_Output::makeUrl('search'), instead you must use SGL_Output::makeUrl('search', 'usersearch', 'usersearch')