This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
2005-01-22 22:05:34 -05:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* See the enclosed file COPYING for license information (GPL). If you
|
|
|
|
* did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
|
|
|
|
*/
|
|
|
|
|
|
|
|
define('NWNADMIN_BASE', dirname(__FILE__));
|
|
|
|
$nwnadmin_configured = (@is_readable(NWNADMIN_BASE . '/config/conf.php'));
|
|
|
|
|
|
|
|
if (!$nwnadmin_configured) {
|
|
|
|
require NWNADMIN_BASE . '/../lib/Test.php';
|
|
|
|
Horde_Test::configFilesMissing('NWNAdmin', NWNADMIN_BASE,
|
|
|
|
array('conf.php'));
|
|
|
|
} else {
|
2005-01-23 00:41:56 -05:00
|
|
|
require NWNADMIN_BASE . '/start.php';
|
|
|
|
}
|