]> granicus.if.org Git - php/commitdiff
improved warning message
authorSascha Schumann <sas@php.net>
Thu, 24 Oct 2002 10:40:48 +0000 (10:40 +0000)
committerSascha Schumann <sas@php.net>
Thu, 24 Oct 2002 10:40:48 +0000 (10:40 +0000)
# this should really link to an external page which explains the issue deeply

ext/session/session.c

index 08e717058b66d7c14664016fe653b52eaafc84cc..d06c0d29a942e464dee589a4e726c9f363ccc800 100644 (file)
@@ -663,7 +663,7 @@ static void php_session_save_current_state(TSRMLS_D)
                        }
 
                        if (do_warn && PS(bug_compat_warn)) {
-                               php_error(E_WARNING, "Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn.");
+                               php_error(E_WARNING, "Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively.");
                        }
                }