X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fcocanwiki.ml;h=e6fb225b91cffd71e4e48af8c65080d132f7923b;hb=9ef45f7514ad67944e67e943451f80ac4e416d77;hp=55097e4ac4694d511e1c72b12895c9e45a47d278;hpb=0d88075fa62c0a801ea1e9246d85389f9161a4e1;p=cocanwiki.git diff --git a/scripts/cocanwiki.ml b/scripts/cocanwiki.ml index 55097e4..e6fb225 100644 --- a/scripts/cocanwiki.ml +++ b/scripts/cocanwiki.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: cocanwiki.ml,v 1.9 2004/09/22 10:19:26 rich Exp $ + * $Id: cocanwiki.ml,v 1.12 2004/09/23 15:16:21 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 @@ -40,6 +40,8 @@ let _get_dbh r = Pool.get r "cocanwiki" *) exception CgiExit +let return () = raise CgiExit + (* Permissions and restrictions. * * Use the optional ~restrict parameter to register_script to restrict