X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=lib%2FNDWeb.pm;h=81a78fd6ff4e466c841fadbc3c91c0ffcf84a234;hb=0a35b86f2577bc9e2efcabe818a56a9ec46bb0bd;hp=b72d765a9e971d0b3e99545a195b7245af2fd415;hpb=95cfd7bb5173581eda52b1d920840da10fa3a333;p=ndwebbie.git diff --git a/lib/NDWeb.pm b/lib/NDWeb.pm index b72d765..81a78fd 100644 --- a/lib/NDWeb.pm +++ b/lib/NDWeb.pm @@ -13,11 +13,11 @@ use Catalyst::Runtime 5.80; # directory use parent qw/Catalyst/; + use Catalyst qw/ -Debug ConfigLoader Static::Simple - Unicode Authentication Authentication::Store::NDWeb @@ -31,9 +31,6 @@ use Catalyst qw/ Session::Store::File Session::State::Cookie - Compress::Gzip - Compress::Deflate - Cache PageCache /; @@ -86,10 +83,12 @@ __PACKAGE__->config( page_cache => { }); __PACKAGE__->config( default_model => 'Model'); +__PACKAGE__->config( encoding => 'UTF-8'); # Start the application __PACKAGE__->setup(); __PACKAGE__->deny_access_unless('/users',[qw/admin_users/]); +__PACKAGE__->deny_access_unless('/users/sms',[qw/users_sms/]); __PACKAGE__->deny_access_unless('/alliances',[qw/alliances/]); __PACKAGE__->deny_access_unless('/alliances/resources',[qw/alliances_resources/]); __PACKAGE__->deny_access_unless('/graphs/alliancevsintel',[qw/graphs_intel/]);