X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fsession.php;h=355d77307ae34aeb4b7a6649782b5b9ac78f71a6;hb=e5527fd38a6585c8466dc28d013f12d21eb7c07a;hp=49c0ab12193498d8a0ed2f76312ead2f09546578;hpb=63f159414369b5ea19a8ca75d8cd8033c45d8341;p=mailer.git diff --git a/inc/session.php b/inc/session.php index 49c0ab1219..355d77307a 100644 --- a/inc/session.php +++ b/inc/session.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -50,16 +50,14 @@ if (isExtensionInstalledAndNewer('sql_patches', '0.5.3')) { } // END - if // Is a session id there? -if (session_id() == '') { +if (!isValidSession()) { // Start the session - $GLOBALS['valid_session'] = session_start(); + $GLOBALS['valid_session'] = session_start(); + $GLOBALS['isValidSession'] = TRUE; } // END - if // Load language file(s) loadLanguageFile(); -// Determine and set referral id -determineReferralId(); - // [EOF] ?>