diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-02-23 13:58:27 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-02-23 13:58:27 +0000 |
commit | 1498dfdec73becf769c3596bf41185f003c2a4cf (patch) | |
tree | ecd6b5d780ad74cede79493a960b3cad4ad0480e /perllib/FixMyStreet/App.pm | |
parent | 684ae4edc50c66617abe369233005770192d8170 (diff) |
Added About controller
put 'loc' stub in place for i18n in templates
server static files
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r-- | perllib/FixMyStreet/App.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm index 60c25d0be..870453b09 100644 --- a/perllib/FixMyStreet/App.pm +++ b/perllib/FixMyStreet/App.pm @@ -34,6 +34,12 @@ __PACKAGE__->config( # Disable deprecated behavior needed by old applications disable_component_resolution_regex_fallback => 1, + + # Serve anything in web dir that is not a .cgi script + static => { # + include_path => [ __PACKAGE__->path_to("web") . "" ], + ignore_extensions => ['cgi'], + } ); # Start the application |