Re: cvs: php4 /ext/session session.c

From: Date: Thu, 24 Oct 2002 16:55:12 +0000
Subject: Re: cvs: php4 /ext/session session.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15372@lists.php.net to get a copy of this message
So why not use php_error_docref which can do that? marcus At 12:40 24.10.2002, Sascha Schumann wrote:
sas             Thu Oct 24 06:40:49 2002 EDT
Modified files:
    /php4/ext/session   session.c
Log: improved warning message # this should really link to an external page which explains the issue deeply Index: php4/ext/session/session.c diff -u php4/ext/session/session.c:1.335 php4/ext/session/session.c:1.336
--- php4/ext/session/session.c:1.335    Sun Oct  6 22:37:50 2002
+++ php4/ext/session/session.c Thu Oct 24 06:40:48 2002 @@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
*/ -/* $Id: session.c,v 1.335 2002/10/07 02:37:50 sas Exp $ */ +/* $Id: session.c,v 1.336 2002/10/24 10:40:48 sas Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -663,7 +663,7 @@
                        }
                        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.");
                        }
                }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.cvs (#15372) next »