Added styling to some pages which previously were "outside" the site
[cocanwiki.git] / scripts / file.ml
index ae4f9ed..252e5fb 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: file.ml,v 1.15 2006/03/27 19:10:29 rich Exp $
+ * $Id: file.ml,v 1.16 2006/08/01 14:50:47 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
@@ -50,7 +50,7 @@ let run r (q : cgi) dbh hostid {hostname = hostname} _ =
                            and id = $version"
       )
     with
-      Not_found | ExtList.List.Empty_list ->
+      Not_found | ExtList.List.Empty_list | Failure "hd" ->
        raise (HttpError cHTTP_NOT_FOUND) in
 
   let deleted = Option.get deleted in