From: Scott B. <br...@tr...> - 2000-12-12 21:45:24
|
OK, I'll update the config Perl script (as suggested by Lewis) and submit it to the Patch Manager for later consideration. - Scott > I do like your patch, however, I'm afraid I'm going to have to be a stickler > and say that we can't apply it due to the feature freeze. However, could I > request that you do submit it to our patch manager on sourceforge so that > after 1.0 is released, we could add this to one of the future releases of > the 1.x branch? > > Thank you, > Luke > > > On Mon, 11 Dec 2000, Scott Bronson wrote: > > > > Maybe a better solution is to have an admin configured var for the signout page. > > > That would allow many possibilities and still be defaulted to the way it is > > > now. > > > > Did you even look at the patch? That's exactly the way it works. > > I'm glad we agree. > > > > - Scott > > > > > > P.S. Is there any chance of getting this in with the other patches > > being applied now? It's quite small and innocouous... > > > > > > Index: config/config_default.php > > =================================================================== > > RCS file: /cvsroot/squirrelmail/squirrelmail/config/config_default.php,v > > retrieving revision 1.34 > > diff -u -r1.34 config_default.php > > --- config/config_default.php 2000/10/17 18:15:35 1.34 > > +++ config/config_default.php 2000/12/07 22:35:10 > > @@ -56,6 +56,14 @@ > > // uw > > $imap_server_type = "cyrus"; > > > > +// Rather than going to the signout.php page (which only allows you > > +// to sign back in), setting signout_location allows you to sign > > +// the user out and then redirect to whatever page you want. > > +// For instance, the following would return the user to your > > +// home page: $signout_location = "/"; > > +// Set to the empty string to continue to use the default signout page. > > + $signout_location = ""; > > + > > // Many servers store mail in your home directory. With this, they > > // store them in a subdirectory: mail/ or Mail/, etc. If your > > // server does this, please set this to what the default mail folder > > Index: src/signout.php > > =================================================================== > > RCS file: /cvsroot/squirrelmail/squirrelmail/src/signout.php,v > > retrieving revision 1.20 > > diff -u -r1.20 signout.php > > --- src/signout.php 2000/10/21 16:08:31 1.20 > > +++ src/signout.php 2000/12/07 22:35:10 > > @@ -30,6 +30,12 @@ > > setcookie("key", "", 0, $base_uri); > > setcookie("logged_in", "", 0, $base_uri); > > session_destroy(); > > + > > + if ($signout_location) { > > + header("Status: 303 See Other"); > > + header("Location: $signout_location"); > > + exit; /* we send no content if we're redirecting. */ > > + } > > ?> > > <HTML> > > <HEAD> > > > > > > > > -- > _ > . . Luke Ehresman - "Codito, ergo sum" > / v \ leh...@cs... > /( )\ http://www.css.tayloru.edu/~lehresma > ^^ ^^ > |