diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-12-20 12:06:48 (GMT) |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-12-20 12:06:48 (GMT) |
commit | e61dae23d75394a1ab4a2774975e51a8ff7b4e9c (patch) | |
tree | 88972c8886a364991a75cd160806ae4544caaff7 /public_html/index.php | |
parent | a6d965456ce4be294593eee569b3b19de32be497 (diff) | |
download | kolab-wap-e61dae23d75394a1ab4a2774975e51a8ff7b4e9c.tar.gz |
Rename 'client' to be in 'public_html'
Diffstat (limited to 'public_html/index.php')
-rw-r--r-- | public_html/index.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/public_html/index.php b/public_html/index.php new file mode 100644 index 0000000..66c930c --- /dev/null +++ b/public_html/index.php @@ -0,0 +1,32 @@ +<?php + +/* + * Kolab Admin Panel + * + * (C) Copyright 2011 Kolab Systems AG + * + */ + +// application constants +define('KADM_START', microtime(true)); +define('KADM_VERSION', '0.1'); +define('KADM_CHARSET', 'utf-8'); +define('INSTALL_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/'); + +// environment initialization +require_once INSTALL_PATH . '/include/init.php'; + +// starting task +$task = kolab_utils::get_input('task', 'GET'); + +if (!$task) { + $task = 'main'; +} + +$class = "kolab_admin_task_$task"; + +$KADM = new $class; + +// run actions and send output +$KADM->run(); +$KADM->send(); |