+version 1.6 (tba)
+ * code fixes
+ * new options in htaccess file
+
version 1.5 (30 Nov. 2012)
* support phantomjs as a screenshot tool for a bookmark
* code updates and cleanup
#
# Copyright (C) 2008 Luke Reeves
#
+# Copyright (C) 2012 Johannes Keßler
+# https://github.com/jumpin-banana/insipid
+#
# 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
# the Free Software Foundation; either version 2 of the License, or
print "<html><head><title>Insipid Error</title></head>";
print "<body>";
print "<h2>$subject</h2>";
- print "<p><font size=\"+1\"></font></p>";
- print "<p><font size=\"+1\">$body";
- print "</font></p>";
+ print "<p>$body</p>";
if(defined($error)) {
print '<pre>' . $error . '</pre>';
--- /dev/null
+#!/usr/bin/perl
+#
+# Copyright (C) 2008 Luke Reeves
+#
+# Copyright (C) 2012 Johannes Keßler
+# https://github.com/jumpin-banana/insipid
+#
+# 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
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
+#
+
+use warnings;
+use strict;
+
+if(!-e "insipid-config.cgi") {
+ # TODO: Better error message here.
+ show_error("Configuration file missing", "The \"insipid-config.cgi\"" .
+ " file could not be found.");
+}
\ No newline at end of file