diff options
Diffstat (limited to 'web')
-rwxr-xr-x | web/l | 1 | ||||
-rw-r--r-- | web/mod_ptt.c | 6 | ||||
-rwxr-xr-x | web/r | 1 | ||||
-rwxr-xr-x | web/s | 1 | ||||
-rwxr-xr-x | web/t | 1 |
5 files changed, 9 insertions, 1 deletions
@@ -0,0 +1 @@ +lynx -dump ptt.cc/test.ptt diff --git a/web/mod_ptt.c b/web/mod_ptt.c index ee32ede4..ecb77117 100644 --- a/web/mod_ptt.c +++ b/web/mod_ptt.c @@ -1,4 +1,7 @@ #include "mod_ptt.h" +extern SHM_t *SHM; +extern int *GLOBALVAR; + extern int numboards; extern boardheader_t *bcache; typedef struct excfg { @@ -74,7 +77,8 @@ static int ptt_handler(request_rec *r) ap_rprintf(r, " Server built: \"%s\"<br>", ap_get_server_built()); ap_rprintf(r, " numboards: \"%d\"<br>", numboards); - + ap_rprintf(r, " shm: \"%d\"<br>", SHM->loaded ); + ap_rprintf(r, " max_user:%d<br>", SHM->max_user ); for(i = 0; i < 10; i++) ap_rprintf(r,"%d. %s %s<br>",i,bcache[i].brdname,bcache[i].title); @@ -0,0 +1 @@ +sudo apachectl restart @@ -0,0 +1 @@ +sudo apachectl stop @@ -0,0 +1 @@ +tail /var/log/httpd-error.log |