Roxen.git / server / modules / tags / writefile.pike

version» Context lines:

Roxen.git/server/modules/tags/writefile.pike:1:   // This is a roxen module which provides file upload and write capabilities.   // Copyright (c) 2001, Stephen R. van den Berg, The Netherlands.   // <srb@cuci.nl>   // - // This module is open source software; you can redistribute it and/or - // modify it under the terms of the GNU General Public License as published - // by the Free Software Foundation; either version 2, or (at your option) any - // later version. + // See COPYING in the server directory for license information.   //      //<locale-token project="mod_writefile">_</locale-token>   #define _(X,Y) _DEF_LOCALE("mod_writefile",X,Y)   #define _ok id->misc->defines[" _ok"]      constant cvs_version = -  "$Id: writefile.pike,v 1.21 2009/05/08 15:39:36 mathias Exp $"; +  "$Id: writefile.pike,v 1.22 2009/05/26 14:20:25 mast Exp $";   constant thread_safe = 1;      #include <module.h>   #include <config.h>      inherit "module";         // ---------------- Module registration stuff ----------------      constant module_type = MODULE_TAG;   LocaleString module_name = _(1,"Tags: Writefile");   LocaleString module_doc = _(2,    "This module provides the writefile RXML tags.<br>"    "<p>Copyright &copy; 2001-2002, by "    "<a href='mailto:srb@cuci.nl'>Stephen R. van den Berg</a>, "    "The Netherlands.</p>" -  "<p>This module is open source software; you can redistribute it and/or " -  "modify it under the terms of the GNU General Public License as published " -  "by the Free Software Foundation; either version 2, or (at your option) any " -  "later version.</p>"); +  "<p>See COPYING in the server directory for license information.</p>");      void create() {    set_module_creator("Stephen R. van den Berg <srb@cuci.nl>");    defvar ("onlysubdirs", 1,    _(3,"Within tree only"), TYPE_FLAG,    _(4,"Setting this will force all specified chroots and filenames "    "to be relative to the directory this tag is located in. "    "It functions as an enforced dynamic chroot to constrain users in "    "e.g. a user filesystem.")    );