Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2009, Roxen IS.   //   // The Roxen WebServer main program.   //   // 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.1037 2009/06/29 13:30:03 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1038 2009/07/07 11:57:39 jonasw Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:4024:    string ci, user;    function update_args = lambda ( mapping a )    {    if (!a->format)    // Make implicit format choice explicit   #if constant(Image.GIF) && constant(Image.GIF.encode)    a->format = "gif";   #else    a->format = "png";   #endif -  if( id->misc->authenticated_user && +  if( get_admin_configuration() != id->conf && +  id->misc->authenticated_user &&    !id->misc->authenticated_user->is_transient )    // This entry is not actually used, it's only there to    // generate a unique key.    a["\0u"] = user = id->misc->authenticated_user->name();    };       if( mappingp( data ) )    {    update_args( data );    ci = argcache->store( data );