-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
32 lines (26 loc) · 1.04 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
<?php
/*
+---------------------------------------------------------------------------+
| Revive Adserver |
| http://www.revive-adserver.com |
| |
| Copyright: See the COPYRIGHT.txt file. |
| License: GPLv2 or later, see the LICENSE.txt file. |
+---------------------------------------------------------------------------+
*/
/**
* This file is only called to redirect to somewhere else, however, if Revive
* Adserver is not yet installed, we need to know that it was this file that
* was called, so set a global variable.
*/
define('ROOT_INDEX', true);
// Require the initialisation file
require_once 'init.php';
// Required files
require_once LIB_PATH . '/Admin/Redirect.php';
// Redirect to the admin interface
if (OA_INSTALLATION_STATUS == OA_INSTALLATION_STATUS_INSTALLED)
{
OX_Admin_Redirect::redirect();
}
?>