<?php
/**
 * $Horde: nag/index.php,v 1.11 2003/01/03 12:44:45 jan Exp $
 *
 * Copyright 2001-2003 Jon Parise <jon@horde.org>
 *
 * 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('NAG_BASE', dirname(__FILE__));
$nag_configured = (@is_readable(NAG_BASE . '/config/conf.php') &&
                   @is_readable(NAG_BASE . '/config/html.php') &&
                   @is_readable(NAG_BASE . '/config/prefs.php'));

if (!$nag_configured) {
    require NAG_BASE . '/templates/index/notconfigured.inc';
    exit;
}

require NAG_BASE . '/list.php';
