bug fix on session and multiple paths

This commit is contained in:
Diego Najar 2021-11-28 13:43:55 +01:00
parent a3555315b8
commit f4f85ec3d4

View file

@ -2,7 +2,7 @@
// Start the session
// If the session is not possible to start the admin area is not available
Session::start();
Session::start($site->urlPath(), $site->isHTTPS());
if (Session::started()===false) {
exit('Bludit CMS. Session initialization failed.');
}