X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsession.php;h=d45062c7448dfff25203852e1a2212a7c0abc15b;hb=e2da324adac1eee66b742bcbb4e3a7f051221ee4;hp=dddced09072500fd9ee36f2aff970c23a1ce4bd3;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/session.php b/inc/session.php index dddced0907..d45062c744 100644 --- a/inc/session.php +++ b/inc/session.php @@ -14,12 +14,10 @@ * $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, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -45,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 @@ -60,8 +58,8 @@ if (session_id() == '') { // Load language file(s) loadLanguageFile(); -// Determine and set referal id -determineReferalId(); +// Determine and set referral id +determineReferralId(); // [EOF] ?>