]> git.sesse.net Git - itkacl/blobdiff - itkacl-web-1.0/include/config.pm
Add the bare minimum of what is required for the web interface to work (but be butt...
[itkacl] / itkacl-web-1.0 / include / config.pm
diff --git a/itkacl-web-1.0/include/config.pm b/itkacl-web-1.0/include/config.pm
new file mode 100644 (file)
index 0000000..7922930
--- /dev/null
@@ -0,0 +1,36 @@
+#! /usr/bin/perl
+
+#
+# ITKACL web interface: Default configuration file.
+# Set your local configuration in config.local.pm instead of editing this file.
+#
+
+use strict;
+use warnings;
+
+package itkaclconfig;
+
+# Header/footer-files, for skinning.
+our $header = "header.html";
+our $footer = "footer.html";
+
+# Quote script. If you don't want quote-replacement, don't set it.
+our $quotescript = undef;
+
+# Database information. You will need to supply this yourself.
+our $db_host = "localhost";
+our $db_name = "itkacl";
+our $db_user = "itkacl-web";
+our $db_pass = undef;
+
+our $sessiondb_host = "localhost";
+our $sessiondb_name = "itkacl-sessions";
+our $sessiondb_user = "itkacl-web";
+our $sessiondb_pass = undef;
+
+# Local configuration overrides defaults.
+eval {
+       require 'config.local.pm';
+};
+
+1;