Working with Routes
Table of Contents
Setup
- works with >= PHP 5.2.3
- set your pear package manager to the system pear repo
$ pear channel-discover pear.horde.org $ pear install 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
seagull/var/routes.php
That's it for now.
Caveats
- When using Horde_Routes single arg url construction invalid, eg: SGL_Output::makeUrl('search'), instead you must use SGL_Output::makeUrl('search', 'usersearch', 'usersearch')
