Skip to content
Snippets Groups Projects
Commit 858e0b11 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #2513 fix cookies name for windows

parent c00f2ce6
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,9 @@
require_once dirname(__file__) . '/class/Url.php';
//dynamic session name
$sessionName = str_replace($_SERVER['DOCUMENT_ROOT'], '', dirname(__file__));
$sessionName = str_replace(DIRECTORY_SEPARATOR, '', $sessionName);
$sessionName = str_replace("\\","/", dirname(__file__));
$sessionName = str_replace($_SERVER['DOCUMENT_ROOT'], '', $sessionName);
$sessionName = str_replace("/", '', $sessionName);
$sessionName = str_replace('core', '', $sessionName);
if ($sessionName == '') {
$sessionName = 'maarch';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment