<?php
/**
 * $Horde: passwd/index.php,v 1.15 2005/08/16 17:39:26 jan Exp $
 *
 * Copyright 2002-2005 Eric Jon Rostetter <eric.rostetter@physics.utexas.edu>
 *
 * See the enclosed file LICENSE for license information (ASL). If you
 * did not receive this file, see http://www.horde.org/asl.php.
 */

@define('PASSWD_BASE', dirname(__FILE__));
$passwd_configured = (@is_readable(PASSWD_BASE . '/config/conf.php') &&
                      @is_readable(PASSWD_BASE . '/config/backends.php'));

if (!$passwd_configured) {
    require PASSWD_BASE . '/../lib/Test.php';
    Horde_Test::configFilesMissing('Passwd', PASSWD_BASE, array('conf.php', 'backends.php'));
}

require PASSWD_BASE . '/main.php';
