diff options
Diffstat (limited to 'index.pl')
| -rwxr-xr-x | index.pl | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -9,8 +9,9 @@ use Socket; use Sys::Hostname; my $host = hostname(); -my $config = -e "config-$host.txt" ? "config-$host.txt" : 'config.txt'; +my $config = -e "configdev-$host.txt" ? "configdev-$host.txt" : ( + -e "config-$host.txt" ? "config-$host.txt" : 'config.txt' +); my Xerl $xerl = Xerl->new( config => $config ); $xerl->run(); - |
