From 70d30f437508ebfa2ff93fdd80752e48575747dd Mon Sep 17 00:00:00 2001 From: Uriel Date: Sun, 11 Jan 2009 07:13:25 +0100 Subject: [PATCH] Move misplaced comment --- bin/werc.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/werc.rc b/bin/werc.rc index c621de4..e98a37a 100755 --- a/bin/werc.rc +++ b/bin/werc.rc @@ -102,9 +102,9 @@ fn setup_handlers { if(! ~ $#enabled_apps 0) init_apps - # Dir listing if(! ~ $#handler_body_main 0) - { } # Pass + { } + # Dir listing if not if(~ $local_path */index) handler_body_main=(dir_listing_handler $local_path) # Explicit .html urls, the web server might handle this first!