remove double parent directory
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 24 Jun 2012 11:26:57 +0000 (13:26 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 24 Jun 2012 11:26:57 +0000 (13:26 +0200)
plack/lib/Plack/App/BookReader.pm

index 023cbb7..4ebc9bb 100644 (file)
@@ -265,7 +265,7 @@ sub serve_path {
         return $self->return_dir_redirect($env);
     }
 
-    my @files = ([ "../", "Parent Directory", '', '', '' ]);
+    my @files = ();
 
     my $dh = DirHandle->new($path);
     my @children;