add index redirect to first available sub module
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1055 c26eb9a1-5813-0410-bd6c-c2e55f420ca73.0
parent
4b238490f9
commit
feeca445c5
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
chdir("common");
|
||||
require_once "common.php";
|
||||
if (!$modules) {
|
||||
die("no sub modules' php pages installed");
|
||||
}
|
||||
foreach ($modules as $k => $v) {
|
||||
header("Location: $k/");
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue