[Catalyst] ServerDB 1.01

Will Hawes info at whawes.co.uk
Fri Jun 24 13:56:04 CEST 2005


I'd like to suggest a minor improvement to the ServerDB 1.01 example.

Unlike Hops, neither the templates nor the code itself take $c->config->{uri_base} into account, making all URLs relative to the site root.

While this is not a problem running under the test server, it can be from other environments, e.g. from a CGI script or even under a mod_perl setup without admin control.

Changing the above would illustrate better that Catalyst apps can run under multiple environments using a single configuration.

wh




More information about the Catalyst mailing list