# directory
use parent qw/Catalyst/;
+
use Catalyst qw/
-Debug
ConfigLoader
Static::Simple
- Unicode
Authentication
Authentication::Store::NDWeb
Session::Store::File
Session::State::Cookie
- Compress::Gzip
- Compress::Deflate
-
Cache
PageCache
/;
system 'killall','-USR1', 'ndbot.pl';
}
+#$SIG{__WARN__} = sub { NDWeb->log->warn(@_); };
+
# Configure the application.
#
# Note that settings in ndweb.conf (or other external
});
__PACKAGE__->config( default_model => 'Model');
+__PACKAGE__->config( encoding => 'UTF-8');
# Start the application
__PACKAGE__->setup();