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

version» Context lines:

Roxen.git/server/config_interface/sites/add_module.pike:594:    id->misc->do_not_goto = 1;    foreach( modules, string mod )    {    if( already_added[mod] )    mod = already_added[ mod ];    if( !has_value(mod, "!") || !conf->find_module( replace(mod,"!","#") ) )    {    RoxenModule mm = conf->enable_module( mod,0,0,1 );    if( !mm || !conf->otomod[mm] )    { -  report_error(LOCALE(0,"Failed to enable %s")+"\n"); +  report_error(LOCALE(382,"Failed to enable %s")+"\n");    return Roxen.http_redirect( site_url(id,conf->name), id );    }    conf->call_low_start_callbacks( mm,    roxen.find_module( (mod/"!")[0] ),    conf->modules[ mod ] );    modules = replace( modules, mod,    (already_added[mod]=(mod/"!")[0]+"!"+    (conf->otomod[mm]/"#")[-1]) );    }    remove_call_out( roxen.really_save_it );