From 21053733728c56c93de44fef71bf5f9cbc64a170 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 18 Apr 2007 10:41:27 +0000 Subject: [PATCH] Fixed Login Loop (session_save_path). --- config.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config.php b/config.php index 516350a..e252724 100644 --- a/config.php +++ b/config.php @@ -9,13 +9,21 @@ | | \--------------------------------------------------*/ +/* + // Make sure this directory exists and is writable! $session_save_path = dirname(__FILE__).'/tmp/'; +*/ + $session_save_path = session_save_path(); + if (strpos($session_save_path, ";") !== false) + $session_save_path = substr($session_save_path, strpos($session_save_path, ";") + 1); + if (isset($session_save_path)) { session_save_path($session_save_path); unset($session_save_path); } + include_once($path_to_root . "/config_db.php"); include_once($path_to_root . "/includes/lang/language.php"); -- 2.30.2