about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2008-02-20 04:48:59 +0000
committerevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2008-02-20 04:48:59 +0000
commit0f8b09cf115fea94d9135a71e2189e00703b4fc2 (patch)
treed6cfd24b1783b3d5cda3c3c6eae08c3e9fc02d83 /lib
parentcf0c084f0a82f532bde1a168e2478a57f102bced (diff)
downloadunicorn-0f8b09cf115fea94d9135a71e2189e00703b4fc2.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-1@964 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'lib')
-rw-r--r--lib/mongrel/handlers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mongrel/handlers.rb b/lib/mongrel/handlers.rb
index 2a6bca4..e643025 100644
--- a/lib/mongrel/handlers.rb
+++ b/lib/mongrel/handlers.rb
@@ -133,7 +133,7 @@ module Mongrel
       req_path = File.join(@path, req_path) if @path
       req_path = File.expand_path req_path
       
-      if File.exist? req_path # and (!@path or req_path.index(@path) == 0)
+      if File.exist? req_path and (!@path or req_path.index(@path) == 0)
         # It exists and it's in the right location
         if File.directory? req_path
           # The request is for a directory