summaryrefslogtreecommitdiff
path: root/test/KolabAdmin/TestInit.php
blob: b05e0d493dcfd1fa2dbad0f7f9e23893f36fc46a (plain)
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
<?php
/**
 * Initialize testing for this application.
 *
 * PHP version 5
 *
 * @category Kolab
 * @package  KolabAdmin
 * @author   Gunnar Wrobel <wrobel@pardus.de>
 * @license  http://www.fsf.org/copyleft/lgpl.html LGPL
 * @link     http://pear.horde.org/index.php?package=KolabAdmin
 */

/**
 * The Autoloader allows us to omit "require/include" statements.
 */
require_once 'Horde/Autoloader.php';

if (!defined('KOWARD_BASE')) {
    define('KOWARD_BASE', dirname(__FILE__) . '/../');
}

/* Set up the application class and controller loading */
Horde_Autoloader::addClassPattern('/^KolabAdmin_/', KOWARD_BASE . '/lib/');
Horde_Autoloader::addClassPattern('/^KolabAdmin_/', KOWARD_BASE . '/app/controllers/');