HomeHelpTrac

source: trunk/index.php @ 16029

Revision 16029, 867 bytes checked in by Alexander Trofimov, 3 months ago (diff)

Pages - improvements and fixes

Line 
1<?php
2/**
3 * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
4 * CC-BY License - http://creativecommons.org/licenses/by/3.0/
5 *
6 * @defgroup    DolphinCore Dolphin Core
7 * @{
8 */
9
10if (!file_exists("./inc/header.inc.php"))
11{
12    // this is dynamic page - send headers to not cache this page
13    $now = gmdate('D, d M Y H:i:s') . ' GMT';
14    header("Expires: $now");
15    header("Last-Modified: $now");
16    header("Cache-Control: no-cache, must-revalidate");
17    header("Pragma: no-cache");
18
19    echo "It seems to be script is <b>not</b> installed.<br />\n";
20    if ( file_exists( "install/index.php" ) ) {
21        echo "Please, wait. Redirecting you to installation form...<br />\n";
22        echo "<script language=\"javascript\">location.href = 'install/index.php';</script>\n";
23    }
24    exit;
25}
26
27$_GET['i'] = 'home';
28require_once("./page.php");
29
30/** @} */
31
Note: See TracBrowser for help on using the repository browser.