From: Sascha Schumann Date: Thu, 24 Oct 2002 10:40:48 +0000 (+0000) Subject: improved warning message X-Git-Tag: php-4.3.0pre2~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e60c601bd1eece53b8322e2a46788fc4bda49a23;p=php improved warning message # this should really link to an external page which explains the issue deeply --- diff --git a/ext/session/session.c b/ext/session/session.c index 08e717058b..d06c0d29a9 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -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."); } }