Roxen.git / server / modules / filesystems / filesystem.pike

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:1:   // This is a roxen module. Copyright © 1996 - 2001, Roxen IS.      // This is a virtual "file-system".   // It will be located somewhere in the name-space of the server.   // Also inherited by some of the other filesystems.      inherit "module";   inherit "socket";    - constant cvs_version= "$Id: filesystem.pike,v 1.116 2001/12/21 13:09:17 grubba Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.117 2002/07/01 09:23:07 anders Exp $";   constant thread_safe=1;      #include <module.h>   #include <roxen.h>   #include <stat.h>   #include <request_trace.h>         //<locale-token project="mod_filesystem">LOCALE</locale-token>   #define LOCALE(X,Y) _DEF_LOCALE("mod_filesystem",X,Y)
Roxen.git/server/modules/filesystems/filesystem.pike:60:    return res;   }      static int do_stat = 1;      string status()   {    return "<h2>"+LOCALE(3,"Accesses to this filesystem")+"</h2>"+    (redirects?"<b>"+LOCALE(4,"Redirects")+"</b>: "+redirects+"<br>":"")+    (accesses?"<b>"+LOCALE(5,"Normal files")+"</b>: "+accesses+"<br>" -  :LOCALE(6,"No file accesses)")+"<br>")+ +  :LOCALE(6,"No file accesses")+"<br>")+    (query("put")&&puts?"<b>"+LOCALE(7,"PUTs")+"</b>: "+puts+"<br>":"")+    (query("put")&&mkdirs?"<b>"+LOCALE(8,"MKDIRs")+"</b>: "+mkdirs+"<br>":"")+    (query("put")&&query("delete")&&moves?    "<b>"+LOCALE(9,"Moved files")+"</b>: "+moves+"<br>":"")+    (query("put")&&chmods?"<b>"+LOCALE(10,"CHMODs")+"</b>: "+chmods+"<br>":"")+    (query("delete")&&deletes?"<b>"+LOCALE(11,"Deletes")+"</b>: "+deletes+"<br>":"")+    (errors?"<b>"+LOCALE(12,"Permission denied")+"</b>: "+errors    +" ("+LOCALE(13,"not counting .htaccess")+")<br>":"")+    (dirlists?"<b>"+LOCALE(14,"Directories")+"</b>:"+dirlists+"<br>":"");   }