set session save path
This commit is contained in:
parent
9a8edec923
commit
05f6b4d6e1
1 changed files with 1 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
session_save_path(__DIR__.'/../storage/sessions/');
|
||||
session_start([
|
||||
'cookie_httponly' => true,
|
||||
'cookie_secure' => !empty($_SERVER['HTTPS']),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue