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
|
<?php
/**
* $Horde: gollem/index.php,v 1.20.2.1 2006/01/01 21:28:47 jan Exp $
*
* Copyright 1999-2006 Charles J. Hagenbuch <chuck@horde.org>
* Copyright 1999-2006 Max Kalika <max@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('GOLLEM_BASE', dirname(__FILE__));
$gollem_configured = (@is_readable(GOLLEM_BASE . '/config/backends.php') &&
@is_readable(GOLLEM_BASE . '/config/conf.php') &&
@is_readable(GOLLEM_BASE . '/config/credentials.php') &&
@is_readable(GOLLEM_BASE . '/config/mime_drivers.php') &&
@is_readable(GOLLEM_BASE . '/config/prefs.php'));
if (!$gollem_configured) {
require GOLLEM_BASE . '/../lib/Test.php';
Horde_Test::configFilesMissing('Gollem', GOLLEM_BASE,
array('conf.php', 'mime_drivers.php', 'prefs.php', 'backends.php'),
array('credentials.php' => 'This file defines types of credentials that a backend might request.'));
}
require GOLLEM_BASE . '/redirect.php';
|