Session Fix inwisible Char before
This commit is contained in:
parent
cb8bd40a7e
commit
1af11f3f58
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
session_start();
|
||||||
|
|
||||||
//Autoloader
|
//Autoloader
|
||||||
class Autoloader {
|
class Autoloader {
|
||||||
@ -67,7 +68,6 @@ ini_set ('session.cookie_httponly', '1');
|
|||||||
ini_set('session.cookie_domain', $_SERVER['HTTP_HOST']);
|
ini_set('session.cookie_domain', $_SERVER['HTTP_HOST']);
|
||||||
ini_set('session.cookie_path', str_replace("login", "", str_replace('https://' . $_SERVER['HTTP_HOST'], "", $_SERVER['REQUEST_URI'])));
|
ini_set('session.cookie_path', str_replace("login", "", str_replace('https://' . $_SERVER['HTTP_HOST'], "", $_SERVER['REQUEST_URI'])));
|
||||||
ini_set('session.cookie_secure', '1');
|
ini_set('session.cookie_secure', '1');
|
||||||
session_start ();
|
|
||||||
mb_internal_encoding ("UTF-8");
|
mb_internal_encoding ("UTF-8");
|
||||||
|
|
||||||
// import configs
|
// import configs
|
||||||
|
Loading…
Reference in New Issue
Block a user