X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsession.php;h=d45062c7448dfff25203852e1a2212a7c0abc15b;hb=e2da324adac1eee66b742bcbb4e3a7f051221ee4;hp=26e296685dcc2fb0cdc2164755e0013bb4149f69;hpb=0307fb2be4c728bed515c8fe6e25a60a26da3811;p=mailer.git diff --git a/inc/session.php b/inc/session.php index 26e296685d..d45062c744 100644 --- a/inc/session.php +++ b/inc/session.php @@ -1,7 +1,7 @@ '.print_r($_SESSION, true).''); +// Is a session id there? +if (session_id() == '') { + // Start the session + $GLOBALS['valid_session'] = session_start(); +} // END - if + +// Load language file(s) +loadLanguageFile(); + +// Determine and set referral id +determineReferralId(); -// +// [EOF] ?>