-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
36 lines (34 loc) · 1.15 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
*
* $Id: index.php 119 2017-09-16 11:04:33Z munix9 $
*
* Just redirect to htdocs/index.php.
*
* This first calls the autoprepend "config.php" via the .htaccess file there.
* "config.php" then includes the code of "init.php" which does most of the
* stuff including authentication, session handling, complation, translation
* and so on. Finally (!) htdocs/index.php is called ...
*
* We come here only of course when using a url like http://<server>/openTimetool or
* http://<server>/openTimetool/index.php but the principle is always the same as
* already mentioned in init.php and config.php
*
*/
$url = 'htdocs/index.php';
$title = 'openTimetool';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="refresh" content="0; url=<?php echo $url; ?>">
<link rel="icon" href="/favicon.ico" type="image/ico">
<link rel="shortcut icon" href="/favicon.ico">
<title><?php echo $title; ?></title>
</head>
<body style="font-size:20px;margin:50px;">
<a href="<?php echo $url; ?>"><?php echo $title; ?></a>
</body>
</html>