This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
nwnadmin/index.php

17 lines
499 B
PHP
Raw Normal View History

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 {
require NWNADMIN_BASE . '/start.php';
}