# Set flags and add plugins for the application
#
# -Debug: activates the debug mode for very useful log messages
# Set flags and add plugins for the application
#
# -Debug: activates the debug mode for very useful log messages
# configuration file that you set up manually) take precedence
# over this when using ConfigLoader. Thus configuration
# details given here can function as a default configuration,
# configuration file that you set up manually) take precedence
# over this when using ConfigLoader. Thus configuration
# details given here can function as a default configuration,
__PACKAGE__->config->{'Plugin::Authentication'}{'use_session'} = 1;
__PACKAGE__->config(session => {
storage => "/tmp/ndweb-$>/session",
__PACKAGE__->config->{'Plugin::Authentication'}{'use_session'} = 1;
__PACKAGE__->config(session => {
storage => "/tmp/ndweb-$>/session",
backend => {
class => "Cache::FileCache",
cache_root => "/tmp/ndweb-$>",
backend => {
class => "Cache::FileCache",
cache_root => "/tmp/ndweb-$>",
__PACKAGE__->deny_access_unless('/users',[qw/admin_users/]);
__PACKAGE__->deny_access_unless('/alliances',[qw/alliances/]);
__PACKAGE__->deny_access_unless('/users',[qw/admin_users/]);
__PACKAGE__->deny_access_unless('/alliances',[qw/alliances/]);
__PACKAGE__->allow_access_if('/raids/index',[qw//]);
__PACKAGE__->allow_access_if('/raids/view',[qw//]);
__PACKAGE__->allow_access_if('/raids/targetcalc',[qw//]);
__PACKAGE__->allow_access_if('/raids/index',[qw//]);
__PACKAGE__->allow_access_if('/raids/view',[qw//]);
__PACKAGE__->allow_access_if('/raids/targetcalc',[qw//]);
__PACKAGE__->allow_access_if('/raids/findRaid',[qw//]);
__PACKAGE__->allow_access_if('/raids/log',[qw//]);
__PACKAGE__->deny_access_unless('/intel',[qw/intel/]);
__PACKAGE__->allow_access_if('/raids/findRaid',[qw//]);
__PACKAGE__->allow_access_if('/raids/log',[qw//]);
__PACKAGE__->deny_access_unless('/intel',[qw/intel/]);