]> granicus.if.org Git - php/commitdiff
Revert the y2k ini patches.
authorAndrei Zmievski <andrei@php.net>
Thu, 24 Feb 2000 15:41:34 +0000 (15:41 +0000)
committerAndrei Zmievski <andrei@php.net>
Thu, 24 Feb 2000 15:41:34 +0000 (15:41 +0000)
# Adam's right, it shouldn't be here

main/main.c
php.ini-dist

index 8732d01a1bece19df9c63147a3a0124f419f94e6..3ff2e98d6d6cb1652970b0a47917e46426854a84 100644 (file)
@@ -204,7 +204,7 @@ PHP_INI_BEGIN()
        STD_PHP_INI_ENTRY("auto_prepend_file",  NULL,                   PHP_INI_ALL,            OnUpdateString, auto_prepend_file,      php_core_globals,       core_globals)
        STD_PHP_INI_ENTRY("auto_append_file",   NULL,                   PHP_INI_ALL,            OnUpdateString, auto_append_file,       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_BOOLEAN("y2k_compliance",           "0",                    PHP_INI_ALL,            OnUpdateBool,           y2k_compliance,         php_core_globals,       core_globals)
 
        STD_PHP_INI_ENTRY("doc_root",                   NULL,                   PHP_INI_SYSTEM,         OnUpdateStringUnempty,  doc_root,               php_core_globals,       core_globals)
        STD_PHP_INI_ENTRY("user_dir",                   NULL,                   PHP_INI_SYSTEM,         OnUpdateStringUnempty,  user_dir,               php_core_globals,       core_globals)
index 22480e9c6786ade7042fcd5a6f7f974bebf43213..6ae1e5bd7581c5403cb540b92c32cde544dab4e5 100644 (file)
@@ -49,7 +49,7 @@ engine                        =       On      ; Enable the PHP scripting language engine under Apache
 short_open_tag =       On      ; allow the <? tag.  otherwise, only <?php and <script> tags are recognized.
 asp_tags               =       Off ; allow ASP-style <% %> tags
 precision              =       14      ; number of significant digits displayed in floating point numbers
-y2k_compliance =       On      ; now on by default, as we do have y2k...
+y2k_compliance =       Off     ; whether to be year 2000 compliant (will cause problems with non y2k compliant browsers)
 output_buffering       = Off   ; Output buffering allows you to send header lines (including cookies)
                                                        ; even after you send body content, in the price of slowing PHP's
                                                        ; output layer a bit.