X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=cgi-bin%2Findex.php;h=006db80e09d43d9ae609c2bcc40e4dc4e5f63cc1;hp=5e9809da4e5889453229b1e99514834589f82b63;hb=be67ed8a8d04e9a77f64e008a76afa8e9dcd7860;hpb=186b663bf3f69e02137d247021400e5a3f90d666 diff --git a/cgi-bin/index.php b/cgi-bin/index.php index 5e9809d..006db80 100644 --- a/cgi-bin/index.php +++ b/cgi-bin/index.php @@ -25,7 +25,7 @@ function go($script) $SUITES = array('oldstable', 'stable', 'testing', 'unstable', 'experimental'); $pi = substr($_SERVER["PATH_INFO"], 1); $elems = explode('/', $pi); -if (!$elems) { +if ($pi == "") { readfile("index.html"); exit; } elseif ($pi == 'search') {