[Phplib-commit] CVS: php-lib-stable/php page.inc,1.2,1.3
Brought to you by:
nhruby,
richardarcher
From: Richard A. <ric...@us...> - 2001-08-18 09:48:13
|
Update of /cvsroot/phplib/php-lib-stable/php In directory usw-pr-cvs1:/tmp/cvs-serv25255 Modified Files: page.inc Log Message: test $sess->in as a boolean rather than testing against a string. Index: page.inc =================================================================== RCS file: /cvsroot/phplib/php-lib-stable/php/page.inc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** page.inc 2000/07/12 18:22:35 1.2 --- page.inc 2001/08/18 09:48:10 1.3 *************** *** 50,54 **** ## Load the auto_init-File, if one is specified. ! if (($sess->auto_init != "") && ($sess->in == "")) { $sess->in = 1; include($_PHPLIB["libdir"] . $sess->auto_init); --- 50,54 ---- ## Load the auto_init-File, if one is specified. ! if (($sess->auto_init != "") && !$sess->in) { $sess->in = 1; include($_PHPLIB["libdir"] . $sess->auto_init); |