git.annexia.org
/
cocanwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modified all scripts with appropriate restrictions based on
[cocanwiki.git]
/
scripts
/
upload_image_form.ml
diff --git
a/scripts/upload_image_form.ml
b/scripts/upload_image_form.ml
index
bdd18f3
..
3706417
100644
(file)
--- a/
scripts/upload_image_form.ml
+++ b/
scripts/upload_image_form.ml
@@
-1,7
+1,7
@@
(* COCANWIKI scripts.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
(* COCANWIKI scripts.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: upload_image_form.ml,v 1.
3 2004/09/07 14:58:34
rich Exp $
+ * $Id: upload_image_form.ml,v 1.
4 2004/09/08 09:54:28
rich Exp $
*)
open Apache
*)
open Apache
@@
-18,4
+18,4
@@
let run r (q : cgi) (dbh : Dbi.connection) _ _ =
q#template template
let () =
q#template template
let () =
- register_script run
+ register_script
~restrict:[CanEdit]
run