}
}
if (! $server ) {
- $server = Catalyst::EngineLoader->new(application_name => ref($self))->auto();
+ $server = Catalyst::EngineLoader->new(application_name => ref($self))->auto(%$options);
# We're not being called from a script, so auto detect what backend to
# run on. This should never happen, as mod_perl never calls ->run,
# instead the $app->handle method is called per request.
BEWARE: If you really need to access some environment variable from your Catalyst
application you should use $c->engine->env->{VARNAME} instead of $ENV{VARNAME},
-as in some enviroments the %ENV hash does not contain what you would expect.
+as in some environments the %ENV hash does not contain what you would expect.
=head1 AUTHORS