diff --git a/src/flextype/flextype.php b/src/flextype/flextype.php index d8330055f..cc5fdb2e9 100644 --- a/src/flextype/flextype.php +++ b/src/flextype/flextype.php @@ -414,11 +414,9 @@ function ($stream) { // Add Plugins service //container()->set('plugins', new Plugins()); -/** -* Set session options before you start the session -* Standard PHP session configuration options -* https://secure.php.net/manual/en/session.configuration.php -*/ +// Set session options before you start the session +// Standard PHP session configuration options +// https://secure.php.net/manual/en/session.configuration.php session()->setOptions(registry()->get('flextype.settings.session')); // Start the session @@ -492,5 +490,5 @@ function_exists('mb_internal_encoding') and mb_internal_encoding(registry()->get // Run high priority event: onFlextypeBeforeRun before Flextype Application starts. emitter()->emit('onFlextypeBeforeRun'); -// Run Flextpype Application +// Run Flextype Application app()->run();