X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsession.php;h=e8b9e2331719b5404bb4632c1fae971f8aeee82a;hb=df3ed14e57f4e3dd95b7f952af40bfd1f6b6667e;hp=8cfddd385db6202010a0663badbfcbf5c21a800f;hpb=414570c5081d337bb6c28dcf521bd8bca02f69e7;p=mailer.git diff --git a/inc/session.php b/inc/session.php index 8cfddd385d..e8b9e23317 100644 --- a/inc/session.php +++ b/inc/session.php @@ -1,7 +1,7 @@ 0) { - // Session variables accepted! - define('__COOKIES', true); - } else { - // Cookies rejected! - define('__COOKIES', false); - } +// Is a session id there? +if (session_id() == '') { + // Start the session + $GLOBALS['valid_session'] = session_start(); } // END - if -//* DEBUG: */ print("
".print_r($_SESSION, true)."
"); +// Load language file(s) +loadLanguageFile(); -// +// [EOF] ?>