[Phplib-commit] CVS: php-lib/php prepend.php3,1.20,1.21
Brought to you by:
nhruby,
richardarcher
From: Richard A. <ric...@us...> - 2001-08-21 12:56:25
|
Update of /cvsroot/phplib/php-lib/php In directory usw-pr-cvs1:/tmp/cvs-serv6744 Modified Files: prepend.php3 Log Message: load the PHP4 files when appropriate Index: prepend.php3 =================================================================== RCS file: /cvsroot/phplib/php-lib/php/prepend.php3,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** prepend.php3 2001/07/14 20:24:15 1.20 --- prepend.php3 2001/08/21 12:56:22 1.21 *************** *** 12,17 **** $_PHPLIB = array(); ! # Can't control your include path? ! # Point this to your PHPLIB base directory. Use trailing "/"! $_PHPLIB["libdir"] = ""; --- 12,17 ---- $_PHPLIB = array(); ! # Can't control your include path? ! # Point this to your PHPLIB base directory. Use a trailing "/"! $_PHPLIB["libdir"] = ""; *************** *** 32,36 **** # Load database connector classes - require($_PHPLIB["libdir"] . "db/db_sql.inc"); require($_PHPLIB["libdir"] . "db/" . $_PHPLIB["db"] . "/db_sql.inc"); require($_PHPLIB["libdir"] . "db/" . $_PHPLIB["db"] . "/ct_sql.inc"); --- 32,35 ---- *************** *** 42,46 **** # Load authentication management classes ! require($_PHPLIB["libdir"] . "auth/auth.inc"); require($_PHPLIB["libdir"] . "auth/" . $_PHPLIB["auth"] . "/auth.inc"); --- 41,47 ---- # Load authentication management classes ! require($_PHPLIB["libdir"] . "auth/auth" ! . (($_PHPLIB["version"] == "4") ? "4" : "") // use auth4.inc if PHP4 ! . ".inc"); require($_PHPLIB["libdir"] . "auth/" . $_PHPLIB["auth"] . "/auth.inc"); *************** *** 59,63 **** # Load local subclass definitions ! require($_PHPLIB["libdir"] . "local.inc"); # Load page management functions --- 60,66 ---- # Load local subclass definitions ! require($_PHPLIB["libdir"] . "local" ! . (($_PHPLIB["version"] == "4") ? "4" : "") // use local4.inc if PHP4 ! . ".inc"); # Load page management functions |