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

16 lines
493 B
PHP

<?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 {
header('Location: ./start.php');
}