Prihlaseni vydrzi 24h.
This commit is contained in:
parent
e29ec6f869
commit
013ae831dd
|
@ -104,7 +104,11 @@ require 'app.php';
|
|||
|
||||
// finally running the APP
|
||||
|
||||
session_start(); // TODO - nakonfit session
|
||||
define('DAY_OF_SECONDS', 24 * 60 * 60);
|
||||
ini_set('session.gc_maxlifetime', DAY_OF_SECONDS);
|
||||
session_set_cookie_params(DAY_OF_SECONDS);
|
||||
session_name('stela');
|
||||
session_start();
|
||||
|
||||
$routeDispatcher = new FastRoute\Dispatcher\GroupCountBased($routeCollector->getData());
|
||||
$request = new Nyholm\Psr7\ServerRequest($_SERVER['REQUEST_METHOD'], parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH), getallheaders());
|
||||
|
|
Loading…
Reference in New Issue