source: git/htdocs/index.php @ 36cd5dd

3.03.13.2trunk
Last change on this file since 36cd5dd was feeca44, checked in by Xuefer <xuefer@…>, 8 years ago

add index redirect to first available sub module

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1055 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

  • Property mode set to 100644
File size: 185 bytes
Line 
1<?php
2
3chdir("common");
4require_once "common.php";
5if (!$modules) {
6    die("no sub modules' php pages installed");
7}
8foreach ($modules as $k => $v) {
9    header("Location: $k/");
10    break;
11}
12
Note: See TracBrowser for help on using the repository browser.