]> git.sesse.net Git - pr0n/blobdiff - perl/Sesse/pr0n/Config.pm
Move from mod_perl to being a PSGI app.
[pr0n] / perl / Sesse / pr0n / Config.pm
index e267c99b51cf2388a8b9d08f12bab2194376b222..4e1d50cab9619de5cbd3bab0a1e211f3dd91c99a 100644 (file)
@@ -2,10 +2,6 @@
 # Copy this file to Config-local.pm and change the values there to
 # suit your own needs.
 #
-# Note that most configuration is done in your vhost; this isn't,
-# because it's persistent between sessions and we don't have access
-# to the Apache configuration data then.
-#
 package Sesse::pr0n::Config;
 use strict;
 use warnings;
@@ -14,4 +10,10 @@ our $db_host = '127.0.0.1';
 our $db_username = 'pr0n';
 our $db_password = '';
 
+our $image_base = '/srv/pr0n.sesse.net/';
+our $template_base = '/srv/pr0n.sesse.net/templates';
+our $overload_mode = 0;
+our $overload_enable_threshold = 100.0;
+our $overload_disable_threshold = 30.0;
+
 1;