Store the script options in the engine.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine.pm
index 1e56bdc..2a5f5f7 100644 (file)
@@ -833,6 +833,7 @@ sub run {
         # instead the $app->handle method is called per request.
         $app->log->warn("Not supplied a Plack engine, falling back to engine auto-loader (are your scripts ancient?)")
     }
+    $app->run_options($options);
     $server->run($psgi, $options);
 }