summaryrefslogtreecommitdiff
path: root/index.php
blob: e25a9d91cc2a8c42bccb64d0d97f5e1ff435570f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * $Horde: kasync/index.php,v 1.13 2009-01-06 18:02:10 jan Exp $
 *
 * Copyright 2007-2009 The Horde Project (http://www.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.
 *
 * @author Bogomil Shopov <shopov@kolabsys.com>
 */

@define('KASYNC_BASE', dirname(__FILE__));
$kasync_configured = (is_readable(KASYNC_BASE . '/config/conf.php') &&
                        is_readable(KASYNC_BASE . '/config/prefs.php'));

if (!$kasync_configured) {
    require KASYNC_BASE . '/../lib/Test.php';
    Horde_Test::configFilesMissing('Kasync', KASYNC_BASE,
                                   array('conf.php', 'prefs.php'));
}

require KASYNC_BASE . '/list.php';