1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
<?php
/**
* $Horde: accounts/main.php,v 1.1.1.1.2.4 2005/01/03 11:25:41 jan Exp $
*
* Copyright 2001-2005 Eric Rostetter <eric.rostetter@physics.utexas.edu>
*
* See the enclosed file LICENSE for license information (BSD). If you
* did not receive this file, see http://www.horde.org/bsdl.php.
*/
define('ACCOUNTS_BASE', dirname(__FILE__));
include_once ACCOUNTS_BASE . '/lib/base.php';
// Create the accounts driver
include_once ACCOUNTS_BASE . '/config/conf.php';
require_once ACCOUNTS_BASE . '/lib/Driver.php';
$mydriver = &Accounts_Driver::factory($conf['server']['driver'],
$conf['server']['params']);
if ($mydriver === false) {
$notification->push(_("Accounts is not properly configured"),
'horde.error');
}
include $registry->getTemplatePath() . '/common-header.inc';
require $registry->getFileRoot() . '/status.php';
include $registry->getTemplatePath() . '/main.inc';
include ACCOUNTS_BASE . '/templates/common-footer.inc';
?>
|