X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsession.php;h=49c0ab12193498d8a0ed2f76312ead2f09546578;hb=ca11996eb52fa0a1ec45d6ab10f5331c4a54a116;hp=a1405c70812df977fc02df9140c5bf7c4300df86;hpb=fb7120ffa230b62b54895bcf95952e1cf30f8594;p=mailer.git diff --git a/inc/session.php b/inc/session.php index a1405c7081..49c0ab1219 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] ?>