[Phplib-commit] CVS: php-lib/unsup/phplib-4 prepend.php4,1.1,1.2
Brought to you by:
nhruby,
richardarcher
From: Richard A. <ric...@us...> - 2001-08-12 04:50:50
|
Update of /cvsroot/phplib/php-lib/unsup/phplib-4 In directory usw-pr-cvs1:/tmp/cvs-serv3278 Modified Files: prepend.php4 Log Message: Fix the $_PHPLIB["libdir"] bug by tracking the -stable tree Index: prepend.php4 =================================================================== RCS file: /cvsroot/phplib/php-lib/unsup/phplib-4/prepend.php4,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** prepend.php4 2001/05/30 13:16:53 1.1 --- prepend.php4 2001/08/12 04:50:47 1.2 *************** *** 10,19 **** */ ! if (!isset($_PHPLIB) or !is_array($_PHPLIB)) { ! # Aren't we nice? We are prepending this everywhere ! # we require or include something so you can fake ! # include_path when hosted at provider that sucks. ! $_PHPLIB["libdir"] = ""; ! } require($_PHPLIB["libdir"] . "db_mysql.inc"); /* Change this to match your database. */ --- 10,18 ---- */ ! $_PHPLIB = array(); ! ! # Can't control your include path? ! # Point this to your PHPLIB base directory. Use trailing "/"! ! $_PHPLIB["libdir"] = ""; require($_PHPLIB["libdir"] . "db_mysql.inc"); /* Change this to match your database. */ |