]> 91.132.146.200 Git - insipid.git/commitdiff
ignores and a new start
authorBanana <banana@starscream.de>
Tue, 19 Mar 2013 09:21:14 +0000 (10:21 +0100)
committerBanana <banana@starscream.de>
Tue, 19 Mar 2013 09:21:14 +0000 (10:21 +0100)
.gitignore
insipid2.cgi [changed mode: 0644->0755]

index 6f2e1f84fbbd79e6d2247b4b4fcad6dc6c57dc49..c7152adf90a7b169745d3551afc3bc694704d998 100644 (file)
@@ -1,3 +1,4 @@
 insipid-config.cgi
 .project
 .htaccess
+phantomjs
old mode 100644 (file)
new mode 100755 (executable)
index 4833810..8c0b3be
 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.");
+#http://search.cpan.org/~wonko/HTML-Template-2.94/
+use HTML::Template;
+
+# debug. Send errors to the browser
+use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
+
+if(!-e "insipid-config_.cgi") {
+       print $html->header('text/html');
+       print $html->start_html();
+       print $html->h1("Configuration file missing");
+       print $html->end_html();
 }
\ No newline at end of file