sas Wed Sep 25 12:11:31 2002 EDT Modified files: /php4 NEWS php.ini-dist /php4/main main.c Log: We are about to enter 2003, sending two-digit years does not make too much sense anymore. According to an article from '98, only Netscape 3.x was affected anyway. Index: php4/NEWS diff -u php4/NEWS:1.1134 php4/NEWS:1.1135 --- php4/NEWS:1.1134 Wed Sep 25 12:06:40 2002 +++ php4/NEWS Wed Sep 25 12:11:31 2002 @@ -1,6 +1,7 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ? ? ??? 2002, Version 4.3.0 +- Changed y2k_compliance to default to 1 now. (Sascha) - Added platform independent socket error constants for better error handling. - Fixed include() and require() to work with remote files under win32. (Wez) - Added php.ini option "auto_detect_line_endings" which enables PHP to detect Index: php4/php.ini-dist diff -u php4/php.ini-dist:1.156 php4/php.ini-dist:1.157 --- php4/php.ini-dist:1.156 Wed Sep 25 07:06:24 2002 +++ php4/php.ini-dist Wed Sep 25 12:11:31 2002 @@ -77,7 +77,7 @@ precision = 12 ; Enforce year 2000 compliance (will cause problems with non-compliant browsers) -y2k_compliance = Off +y2k_compliance = on ; Output buffering allows you to send header lines (including cookies) even ; after you send body content, at the price of slowing PHP's output layer a @@ -819,7 +819,8 @@ ;session.entropy_file = /dev/urandom -; Set to {nocache,private,public} to determine HTTP caching aspects. +; Set to {nocache,private,public,} to determine HTTP caching aspects +; or leave this empty to avoid sending anti-caching headers. session.cache_limiter = nocache ; Document expires after n minutes. Index: php4/main/main.c diff -u php4/main/main.c:1.490 php4/main/main.c:1.491 --- php4/main/main.c:1.490 Wed Sep 25 11:25:12 2002 +++ php4/main/main.c Wed Sep 25 12:11:31 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.490 2002/09/25 15:25:12 wez Exp $ */ +/* $Id: main.c,v 1.491 2002/09/25 16:11:31 sas Exp $ */ /* {{{ includes */ @@ -275,7 +275,7 @@ STD_PHP_INI_BOOLEAN("short_open_tag",DEFAULT_SHORT_OPEN_TAG, PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateBool, short_tags, zend_compiler_globals, compiler_globals) STD_PHP_INI_BOOLEAN("sql.safe_mode", "0", PHP_INI_SYSTEM, OnUpdateBool, sql_safe_mode, php_core_globals, core_globals) STD_PHP_INI_BOOLEAN("track_errors", "0", PHP_INI_ALL, OnUpdateBool, track_errors, php_core_globals, core_globals) - STD_PHP_INI_BOOLEAN("y2k_compliance", "0", PHP_INI_ALL, OnUpdateBool, y2k_compliance, php_core_globals, core_globals) + STD_PHP_INI_BOOLEAN("y2k_compliance", "1", PHP_INI_ALL, + OnUpdateBool, y2k_compliance, +php_core_globals, core_globals) STD_PHP_INI_ENTRY("unserialize_callback_func", NULL, PHP_INI_ALL, OnUpdateString, unserialize_callback_func, php_core_globals, core_globals) STD_PHP_INI_ENTRY("arg_separator.output", "&", PHP_INI_ALL, OnUpdateStringUnempty, arg_separator.output, php_core_globals, core_globals)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php