Exemple #1
0
 *
 * Copyright 2003-2004 Marko Djukic <*****@*****.**>
 * Copyright 2003-2004 Charles J. Hagenbuch <*****@*****.**>
 *
 * See the enclosed file COPYING for license information (LGPL).  If you
 * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
 *
 * @author  Marko Djukic <*****@*****.**>
 * @author  Charles J. Hagenbuch <*****@*****.**>
 * @version $Revision$
 * @since   Horde 3.0
 */
define('AUTH_HANDLER', true);
define('HORDE_BASE', dirname(__FILE__) . '/..');
require_once HORDE_BASE . '/lib/core.php';
$setup =& Setup::singleton();
if (!$setup->check('registry')) {
    $setup->log(_("No Horde registry file."), 'warning');
    $setup->makeRegistry();
} else {
    $setup->log(_("Horde registry file is available."), 'message');
}
/* Horde base libraries. */
$session_control = 'none';
require_once HORDE_BASE . '/lib/base.php';
require_once HORDE_LIBS . 'Horde/Form.php';
require_once HORDE_LIBS . 'Horde/Config.php';
require_once HORDE_LIBS . 'Horde/Variables.php';
if (!$setup->check('domxml')) {
    $this->fatal(_("You need the DOM XML PHP extension to run setup."));
} else {