X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fsession.php;h=e9abd0e7a28d12b057c30a5bfb547a0a6c410bac;hb=330dbb3e2b34450cd1665497506455e195a0a166;hp=8d8d5b7cf97d906ad1ce0461d058eb51234e7b47;hpb=b8a6f8012aa3509d8e0f8fd078e044f20e80707a;p=mailer.git diff --git a/inc/session.php b/inc/session.php index 8d8d5b7cf9..e9abd0e7a2 100644 --- a/inc/session.php +++ b/inc/session.php @@ -14,10 +14,9 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -44,7 +43,7 @@ if (!defined('__SECURITY')) { // Is ext-sql_patches there and newer? if (isExtensionInstalledAndNewer('sql_patches', '0.5.3')) { // Set session save path if set - if (getConfig('session_save_path') != '') { + if ((isConfigEntrySet('session_save_path')) && (getConfig('session_save_path') != '')) { // Please make sure this valid! session_save_path(getConfig('session_save_path')); } // END - if @@ -62,17 +61,5 @@ loadLanguageFile(); // Determine and set referal id determineReferalId(); -// Transfer userid from session and validate it -if (isSessionVariableSet('userid')) { - // Get it secured from session - setMemberId(getSession('userid')); - - // Is it valid? - if (!isMember()) { - // Then destroy the user id - destroyMemberSession(); - } // END - if -} // END - if - // [EOF] ?>