X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsession.php;h=dddced09072500fd9ee36f2aff970c23a1ce4bd3;hb=25b4a580b4c7e0d429eb8e436785d3c2ef304f8e;hp=9ecac46de367c775819f1c44843ea6ed93ffb69f;hpb=452578b5bf17d14099ee44956deb4e4dc0832874;p=mailer.git diff --git a/inc/session.php b/inc/session.php index 9ecac46de3..dddced0907 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] ?>