Date: 12/05/00
- Next message: max: "[phplib-dev] cvs commit"
- Previous message: max: "[phplib-dev] cvs commit"
- Next in thread: max: "[phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: max
Date: Tue Dec 5 12:04:54 2000
Modified files:
php-lib/php/prepend.php3
Log message:
added possibility to enable Session class for PHP4 sessions with custom storage
Index: php-lib/php/prepend.php3
diff -u php-lib/php/prepend.php3:1.15 php-lib/php/prepend.php3:1.16
--- php-lib/php/prepend.php3:1.15 Fri Jun 16 13:31:49 2000
+++ php-lib/php/prepend.php3 Tue Dec 5 12:04:23 2000
@@ -5,7 +5,7 @@
* Copyright (c) 1998-2000 SH Online Dienst GmbH
* Boris Erdmann, Kristian Koehntopp
*
- * $Id: prepend.php3,v 1.15 2000/06/16 11:31:49 uw Exp $
+ * $Id: prepend.php3,v 1.16 2000/12/05 11:04:23 max Exp $
*
*/
@@ -22,6 +22,12 @@
# What is your PHP Version? Set to "3" or "4"
$_PHPLIB["version"] = "4";
+
+ # Do you intend to use custom session save handlers (PHP4 only) ?
+ if ($PHPLIB["version"] == "4") { // do not change this
+ # set to true or false
+ $_PHPLIB["custom_save_handler"] = true;
+ }
}
# Load database connector classes
@@ -30,7 +36,9 @@
require($_PHPLIB["libdir"] . "db/" . $_PHPLIB["db"] . "/ct_sql.inc");
# Load session management class
-require($_PHPLIB["libdir"] . "session/session" . $_PHPLIB["version"] . ".inc");
+require($_PHPLIB["libdir"] . "session/session" . $_PHPLIB["version"]
+ . ($_PHPLIB["custom_save_handler"]) ? "_custom" : ""
+ . ".inc");
# Load authentication management classes
require($_PHPLIB["libdir"] . "auth/auth.inc");
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>
- Next message: max: "[phplib-dev] cvs commit"
- Previous message: max: "[phplib-dev] cvs commit"
- Next in thread: max: "[phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

