summaryrefslogtreecommitdiff
path: root/public_html/index.php
blob: 60ee06ce4f9ee1e990ba1185c31729ead39ea407 (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

    require_once(dirname(__FILE__) . "/../lib/functions.php");

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

    console(__FILE__.":".__LINE__.": " . $task);

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

    console(__FILE__.":".__LINE__.": " . $task);

    $class = "kolab_admin_client_task_$task";

    $KADM = new $class;

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