forked from revive-adserver/revive-adserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
33 lines (27 loc) · 1.07 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
<?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 Openads
* 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 ($conf['openads']['installed'])
if (OA_INSTALLATION_STATUS == OA_INSTALLATION_STATUS_INSTALLED)
{
OX_Admin_Redirect::redirect();
}
?>