]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb.pm
Update to be compatible with newer Catalyst.
[ndwebbie.git] / lib / NDWeb.pm
index b72d765a9e971d0b3e99545a195b7245af2fd415..63708aaa847df6a96dc7afbad1983d8ab373b5cb 100644 (file)
@@ -13,11 +13,12 @@ use Catalyst::Runtime 5.80;
 #                 directory
 
 use parent qw/Catalyst/;
+
 use Catalyst qw/
        -Debug
        ConfigLoader
        Static::Simple
-       Unicode
+       Unicode::Encoding
 
        Authentication
        Authentication::Store::NDWeb
@@ -31,9 +32,6 @@ use Catalyst qw/
        Session::Store::File
        Session::State::Cookie
 
-       Compress::Gzip
-       Compress::Deflate
-
        Cache
        PageCache
 /;
@@ -86,6 +84,7 @@ __PACKAGE__->config( page_cache => {
 });
 
 __PACKAGE__->config( default_model => 'Model');
+__PACKAGE__->config( encoding => 'UTF-8');
 # Start the application
 __PACKAGE__->setup();