Branch: Tag:

1997-01-26

1997-01-26 23:51:20 by Per Hedbor <ph@opera.com>

Added a query_location() function in module.pike, returns the value of
the variable 'location'. Can of cource be overloaded.

Rev: server/base_server/module.pike:1.11

245:    return "";   }    + /* Per default, return the value of the module variable 'location' */ + string query_location() + { +  string s; +  catch{s = query("location");}; +  return s; + } +  +    /*    * Parse and return a parsed version of the security levels for this module    *    */    -  +    array query_seclevels()   {    string sl, sec;