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

version» Context lines:

Roxen.git/server/config_interface/sites/add_module.pike:11:    return 1; // Reloading this script now would destroy state.   }      //<locale-token project="roxen_config">LOCALE</locale-token>   #define LOCALE(X,Y) _STR_LOCALE("roxen_config",X,Y)      // Class is the name of the directory.   array(string) class_description( string d, RequestID id )   {    string name, doc; -  while(!(< "", "/" >)[d] && !file_stat( d+"/INFO" )) +  while(!(< "", "/" >)[d] && !Stdio.is_file( d+"/INFO" ))    d = dirname(d);    if((< "", "/" >)[d])    return ({"Local modules", "" });       string n = Stdio.read_bytes( d+"/INFO" );    sscanf( n, "<"+id->misc->config_locale+">%s"    "</"+id->misc->config_locale+">", n );    sscanf( n, "%*s<name>%s</name>", name );    sscanf( n, "%*s<doc>%s</doc>", doc );    if( search(n, "<noshow/>" ) != -1 )