X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fpreview.ml;h=6fd0a2b370e0457cab06ffd41cd0174569971820;hb=d513396938a8682bf1a9971c752c425587198ef9;hp=b1b65af1f7f86ececa477ccf779eadd315bae2d6;hpb=11b93485a29771f4d826c50d9efc6d3607dfa50f;p=cocanwiki.git diff --git a/scripts/preview.ml b/scripts/preview.ml index b1b65af..6fd0a2b 100644 --- a/scripts/preview.ml +++ b/scripts/preview.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: preview.ml,v 1.4 2004/09/09 12:21:22 rich Exp $ + * $Id: preview.ml,v 1.5 2004/10/04 15:19:56 rich Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,4 +37,4 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ = print_string r xhtml let () = - register_script run + register_script ~restrict:[CanView] run