diff options
Diffstat (limited to 'index.fpl')
| -rwxr-xr-x | index.fpl | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 ); |
