Branch: Tag:

2002-10-25

2002-10-25 18:19:40 by Martin Stjernholm <mast@lysator.liu.se>

Made sure id->misc->pref_languages always exists, so that we can do language
stuff without hassle also in internal requests etc. (Even the
preferred_language module itself assumes that it always exists, which caused
trouble in e.g. the resolve path wizard.) <opinion>PrefLanguages should have
been integrated into RequestID from the beginning.</opinion>

Rev: server/base_server/prototypes.pike:1.53
Rev: server/base_server/roxen.pike:1.810
Rev: server/base_server/roxenloader.pike:1.328
Rev: server/protocols/ftp.pike:2.83
Rev: server/protocols/http.pike:1.380

6:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.809 2002/10/23 19:17:03 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.810 2002/10/25 18:19:35 mast Exp $";      // The argument cache. Used by the image cache.   ArgCache argcache;
1214:    variables = FakedVariables( real_variables );    root_id = this_object();    -  misc = ([]); +  misc = (["pref_languages": PrefLanguages()]);    cookies = ([]);    throttle = ([]);    client_var = ([]);