fixes of windows DIRECTORY_SEPARATOR

This commit is contained in:
Abdulrahman
2019-07-09 23:40:28 +03:00
parent 164419023f
commit 16dab0e04a
3 changed files with 4 additions and 2 deletions

View File

@@ -267,6 +267,6 @@ function get_cookies_settings()
'cookie_secure' => $cookie_secure,
'cookie_name' => $cookie_name,
'cookie_domain' => $cookie_domain,
'cookie_path' => str_replace('/install', '', $script_path),
'cookie_path' => str_replace(DIRECTORY_SEPARATOR . 'install', '', $script_path),
];
}