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 - 2000, 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.101 2001/06/27 19:00:56 per Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.102 2001/08/01 19:35:05 per 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:68:    "<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>":"");   }      void create()   { -  defvar("mountpoint", "/", LOCALE(15,"Mount point"), TYPE_LOCATION|VAR_INITIAL, +  defvar("mountpoint", "/", LOCALE(15,"Mount point"), +  TYPE_LOCATION|VAR_INITIAL|VAR_NO_DEFAULT,    LOCALE(16,"Where the module will be mounted in the site's virtual "    "file system."));    -  defvar("searchpath", "NONE", LOCALE(17,"Search path"), TYPE_DIR|VAR_INITIAL, +  defvar("searchpath", "NONE", LOCALE(17,"Search path"), +  TYPE_DIR|VAR_INITIAL|VAR_NO_DEFAULT,    LOCALE(18,"The directory that contains the files."));       defvar(".files", 0, LOCALE(19,"Show hidden files"), TYPE_FLAG|VAR_MORE,    LOCALE(20,"If set, hidden files, ie files that begin with a '.', "    "will be shown in directory listings." ));       defvar("dir", 1, LOCALE(21,"Enable directory listings per default"),    TYPE_FLAG|VAR_MORE,    LOCALE(22,"If set, it will be possible to get a directory listings "    "from directories in this file system. It is possible to "