From e9b840ee20c12f9b5698eb1403ce38eb18ead62f Mon Sep 17 00:00:00 2001 From: "Paul Buetow (pluto.buetow.org)" Date: Sat, 7 Sep 2013 17:44:24 +0200 Subject: rename config.txt into xerl.conf --- index.fpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'index.fpl') diff --git a/index.fpl b/index.fpl index a7d41b4..3ac017c 100755 --- a/index.fpl +++ b/index.fpl @@ -10,7 +10,9 @@ use Socket; use Sys::Hostname; my $host = hostname(); -my $config = -e "config-$host.txt" ? "config-$host.txt" : 'config.txt'; +my $config = -e "xerldev-$host.conf" ? "xerldev-$host.conf" : ( + -e "xerl-$host.conf" ? "xerl-$host.conf" : 'config.conf' +); while (FCGI::accept >= 0) { my Xerl $xerl = Xerl->new( config => $config ); -- cgit v1.2.3