]> git.mxchange.org Git - mailer.git/blobdiff - inc/session.php
Way more usage of EL code:
[mailer.git] / inc / session.php
index f13e3dd69a5037969513e6c66c165030bd2e7d19..e9abd0e7a28d12b057c30a5bfb547a0a6c410bac 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * 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 *
@@ -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