source: trunk/htdocs/index.php

Last change on this file was 1055, checked in by moo, 2 years ago

add index redirect to first available sub module

  • Property svn:eol-style set to native
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.