X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fsession.php;h=e8b9e2331719b5404bb4632c1fae971f8aeee82a;hp=82c472d0f2de5306a0627001538f193a504ba6e1;hb=08a9a052ddd67568fa7bcc98c4300ce0cc6bfdc0;hpb=60403e95910ee466e0ef685b068facb88237721f diff --git a/inc/session.php b/inc/session.php index 82c472d0f2..e8b9e23317 100644 --- a/inc/session.php +++ b/inc/session.php @@ -14,11 +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 * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 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 * @@ -38,13 +37,13 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } // END - if // 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 @@ -59,8 +58,5 @@ if (session_id() == '') { // Load language file(s) loadLanguageFile(); -// Determine and set referal id -determineReferalId(); - // [EOF] ?>