X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=46a24570ae8a719684d8d08043e71404c1f61ac4;hp=7cd470cbde4f37c6ebc13a5f917ae967bd7500cc;hb=647a3de12de2aca53a11e67f732f4dd8cd833a69;hpb=ab2f881bb0d97543af0ca1d1261dc5eeba38ca7d diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 7cd470c..46a2457 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1145,7 +1145,6 @@ EOF my $name = $class->config->{name} || 'Application'; $class->log->info("$name powered by Catalyst $Catalyst::VERSION"); } - $class->log->_flush() if $class->log->can('_flush'); # Make sure that the application class becomes immutable at this point, B::Hooks::EndOfScope::on_scope_end { @@ -1170,7 +1169,15 @@ EOF ) unless $meta->is_immutable; }; + if ($class->config->{case_sensitive}) { + $class->log->warn($class . "->config->{case_sensitive} is set."); + $class->log->warn("This setting is deprecated and planned to be removed in Catalyst 5.81."); + } + $class->setup_finalize; + # Should be the last thing we do so that user things hooking + # setup_finalize can log.. + $class->log->_flush() if $class->log->can('_flush'); } @@ -2676,10 +2683,6 @@ There are a number of 'base' config variables which can be set: =item * -C - Makes private paths case sensitive. See L. - -=item * - C - The default model picked if you say C<< $c->model >>. See Lmodel($name)>. =item * @@ -2747,16 +2750,6 @@ action table, but you can make them visible with a config parameter. MyApp->config(show_internal_actions => 1); -=head1 CASE SENSITIVITY - -By default Catalyst is not case sensitive, so C is -mapped to C. You can activate case sensitivity with a config -parameter. - - MyApp->config(case_sensitive => 1); - -This causes C to map to C. - =head1 ON-DEMAND PARSER The request body is usually parsed at the beginning of a request,