1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
/* 
 * $Id$ 
 */ 
#include <roxen.h> 
//<locale-token project="admin_tasks">LOCALE</locale-token> 
#define LOCALE(X,Y)   _STR_LOCALE("admin_tasks",X,Y) 
 
constant action = "maintenance"; 
 
string name= LOCALE(24, "Reload configurations from disk"); 
string doc = LOCALE(25,  
                    "Force a reload of all configuration information from " 
                    "the configuration files."); 
 
mixed parse( RequestID id ) 
{ 
  string res = "<font size='+1'><b>" + 
    LOCALE(24, "Reload configurations from disk") + "</b></font>" 
    "<p />"; 
  roxen->reload_all_configurations(); 
  res += LOCALE(26, "All configurations reloaded from disk.") + 
    "<p><cf-ok/></p>"; 
  return res; 
}