summaryrefslogtreecommitdiff
path: root/public_html/index.php
blob: 9e07188632272178f0b4f3b3bb6a1f21ea3b1b85 (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
26
<?php

/*
 * Kolab Admin Panel
 *
 * (C) Copyright 2011 Kolab Systems AG
 *
 */

// environment initialization
require_once '../lib/functions.php';

// starting task
$task = kolab_utils::get_input('task', kolab_utils::REQUEST_GET);

if (!$task) {
    $task = 'main';
}

$class = "kolab_admin_client_task_$task";

$KADM = new $class;

// run actions and send output
$KADM->run();
$KADM->send();