X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsession.php;h=82c472d0f2de5306a0627001538f193a504ba6e1;hb=72ac9f672704438aabc4f4bada7f5c3b40499f1a;hp=89f370509a5f096617172ac9b74247dd037bd69f;hpb=f9a9c09e1ae257449bfd98f8854e321efba1dc3c;p=mailer.git diff --git a/inc/session.php b/inc/session.php index 89f370509a..82c472d0f2 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 referal id +determineReferalId(); -// +// [EOF] ?>