Session Fix inwisible Char before

This commit is contained in:
JonatanRek 2020-05-17 01:26:49 +02:00
parent cb8bd40a7e
commit 1af11f3f58

View File

@ -1,4 +1,5 @@
<?php
session_start();
//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_path', str_replace("login", "", str_replace('https://' . $_SERVER['HTTP_HOST'], "", $_SERVER['REQUEST_URI'])));
ini_set('session.cookie_secure', '1');
session_start ();
mb_internal_encoding ("UTF-8");
// import configs