X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsession.php;h=d45062c7448dfff25203852e1a2212a7c0abc15b;hb=647822147615bad8572ad4282c9c3958fe983f5c;hp=b3f6f883ff6729bf0ab75fead0a02b4aae9b64bf;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git diff --git a/inc/session.php b/inc/session.php index b3f6f883ff..d45062c744 100644 --- a/inc/session.php +++ b/inc/session.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * 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 * @@ -43,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 @@ -58,8 +58,8 @@ if (session_id() == '') { // Load language file(s) loadLanguageFile(); -// Determine and set referal id -determineReferalId(); +// Determine and set referral id +determineReferralId(); // [EOF] ?>