Split the 'page' template into two halves to enable pipelining. The
[cocanwiki.git] / scripts / source.ml
index d724e01..269a3ad 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI - a wiki written in Objective CAML.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: source.ml,v 1.1 2004/10/27 21:14:05 rich Exp $
+ * $Id: source.ml,v 1.2 2004/11/02 18:47:54 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
@@ -87,4 +87,4 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ =
         ignore (print_newline r)) model.contents
 
 let () =
-  register_script run
+  register_script ~restrict:[CanView] run