X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fsession.php;h=d45062c7448dfff25203852e1a2212a7c0abc15b;hp=21f8580878fc5f4bc41008f967bb2546ea13b0dd;hb=6f9f29d5caee60a2cceae33a7a53e1b4c7319a0c;hpb=508228c85fba8448d00865b1639cb8cd7a69e457 diff --git a/inc/session.php b/inc/session.php index 21f8580878..d45062c744 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(); + +// Determine and set referral id +determineReferralId(); -// +// [EOF] ?>