20 lines
585 B
Diff
20 lines
585 B
Diff
|
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
||
|
Date: 2008-11-23
|
||
|
Initial Package Version: v2
|
||
|
Origin: me
|
||
|
Upstream Status: unknown
|
||
|
Description: correct directory handling
|
||
|
|
||
|
diff -Naur dirlistingv2.orig/index.php dirlistingv2/index.php
|
||
|
--- dirlistingv2.orig/index.php 2005-11-09 00:49:36.000000000 +0000
|
||
|
+++ dirlistingv2/index.php 2008-11-23 10:49:54.933004943 +0000
|
||
|
@@ -249,7 +249,7 @@
|
||
|
|
||
|
if($displayindex) {
|
||
|
if(in_array(strtolower($file), $indexfiles)) {
|
||
|
- header("Location: $file");
|
||
|
+ header("Location: $leadon$file");
|
||
|
die();
|
||
|
}
|
||
|
}
|