]> granicus.if.org Git - apache/commitdiff
Added new mod_lua functions.
authorGuenter Knauf <fuankg@apache.org>
Sat, 22 Jun 2013 05:24:02 +0000 (05:24 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sat, 22 Jun 2013 05:24:02 +0000 (05:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1495665 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.html.en
docs/manual/mod/mod_lua.xml

index 9f45d2611c7339509714b2ddc38a39e0b4c356d6..d0ba62b59ce665aa9c72902c1743ea16141f9de8 100644 (file)
@@ -1016,11 +1016,21 @@ r:mkdir(dir [,mode]) -- Creates a directory and sets mode to optional mode param
 </pre>
 
 
+<pre class="prettyprint lang-lua">
+r:mkrdir(dir [,mode]) -- Creates directories recursive and sets mode to optional mode paramter.
+</pre>
+
+
 <pre class="prettyprint lang-lua">
 r:rmdir(dir) -- Removes a directory.
 </pre>
 
 
+<pre class="prettyprint lang-lua">
+r:touch([mtime]) -- Sets the file modification time to current time or to optional mtime msec value.
+</pre>
+
+
 <pre class="prettyprint lang-lua">
 r:get_direntries(dir) -- Returns a table with all directory entries.
 
index a1f4584d8bbaf12fbeb85cd3bf9dd564473dd6d3..5bbe7a76bae798983ba4d7fd4ea8b58ba9e32f80 100644 (file)
@@ -935,10 +935,18 @@ r:htpassword(string [,algorithm [,cost]]) -- Creates a password hash from a stri
 r:mkdir(dir [,mode]) -- Creates a directory and sets mode to optional mode paramter.
 </highlight>
 
+<highlight language="lua">
+r:mkrdir(dir [,mode]) -- Creates directories recursive and sets mode to optional mode paramter.
+</highlight>
+
 <highlight language="lua">
 r:rmdir(dir) -- Removes a directory.
 </highlight>
 
+<highlight language="lua">
+r:touch([mtime]) -- Sets the file modification time to current time or to optional mtime msec value.
+</highlight>
+
 <highlight language="lua">
 r:get_direntries(dir) -- Returns a table with all directory entries.