1
0
Fork 0

add index redirect to first available sub module

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1055 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
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…
Cancel
Save