Date: 01/05/01
- 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: Fri Jan 5 10:26:44 2001
Modified files:
php-lib/php/prepend.php3
Log message:
added possibility to call user4.inc if session4* classes are used
Index: php-lib/php/prepend.php3
diff -u php-lib/php/prepend.php3:1.17 php-lib/php/prepend.php3:1.18
--- php-lib/php/prepend.php3:1.17 Tue Dec 5 12:12:14 2000
+++ php-lib/php/prepend.php3 Fri Jan 5 10:26:12 2001
@@ -5,7 +5,7 @@
* Copyright (c) 1998-2000 SH Online Dienst GmbH
* Boris Erdmann, Kristian Koehntopp
*
- * $Id: prepend.php3,v 1.17 2000/12/05 11:12:14 max Exp $
+ * $Id: prepend.php3,v 1.18 2001/01/05 09:26:12 max Exp $
*
*/
@@ -37,7 +37,7 @@
# Load session management class
require($_PHPLIB["libdir"] . "session/session" . $_PHPLIB["version"]
- . ($_PHPLIB["custom_save_handler"]) ? "_custom" : ""
+ . (($_PHPLIB["custom_save_handler"]) ? "_custom" : "")
. ".inc");
# Load authentication management classes
@@ -48,7 +48,9 @@
require($_PHPLIB["libdir"] . "perm.inc");
# Load user variables management class
-require($_PHPLIB["libdir"] . "user.inc");
+require($_PHPLIB["libdir"] . "user"
+ . (($PHPLIB["version"] == "4") ? "4" : "") // use user4.inc if PHP4
+ . ".inc");
# Load additional classes for
# require($_PHPLIB["libdir"] . "html/menu.inc"); // class Menu
---------------------------------------------------------------------
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 ]

