Roxen.git / server / config_interface / sites / add_module.pike

version» Context lines:

Roxen.git/server/config_interface/sites/add_module.pike:1: - // $Id: add_module.pike,v 1.81 2005/12/19 13:14:51 jonasw Exp $ + // $Id: add_module.pike,v 1.82 2006/01/19 13:26:21 jonasw Exp $      #include <config_interface.h>   #include <module.h>   #include <module_constants.h>   #include <roxen.h>      int no_reload()   {    if( sizeof( already_added ) )    return 1; // Reloading this script now would destroy state.
Roxen.git/server/config_interface/sites/add_module.pike:859:    "value='"+conf->name+"' />"+cf_form+"</table><p><cf-ok />");   }      mixed do_it( RequestID id )   {    if( id->variables->encoded )    id->variables->config = decode_site_name( id->variables->config );       Configuration conf;    foreach(id->variables->config/"\0", string config) { -  if (conf = roxen.find_configuration( id->variables->config )) { +  if (conf = roxen.find_configuration( config )) {    id->variables->config = config;    break;    }    }       if (!conf) {    return sprintf(LOCALE(356, "Configuration %O not found."),    id->variables->config);    }