(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: crash.ml,v 1.6 2006/07/31 09:49:42 rich Exp $
+ * $Id: crash.ml,v 1.7 2006/12/06 09:46: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
let run r (q : cgi) dbh hostid
{ canonical_hostname = canonical_hostname } _ =
- let template = get_template dbh hostid "crash.html" in
+ let template = get_template r dbh hostid "crash.html" in
let crash_email = server_settings_crash_email dbh in
(* Get the current time and write it into the logs. *)