From eff0bbbfb4ff79b5f0c0615730e69a32b48fd2b1 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 1 Aug 2021 11:22:56 +0300 Subject: [PATCH] feat(flextype): update flextype bootstrap script #199 --- src/flextype/flextype.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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();