added online users feature

This commit is contained in:
SJ
2013-07-24 22:14:05 +02:00
parent 920f4208ba
commit 93e9c7ce33
16 changed files with 159 additions and 1 deletions

View File

@ -29,6 +29,7 @@ class ControllerLoginLogin extends Controller {
if(ENABLE_SAAS == 1) {
$this->load->model('saas/ldap');
$this->load->model('saas/customer');
}
$this->document->title = $this->data['text_login'];
@ -39,6 +40,10 @@ class ControllerLoginLogin extends Controller {
$this->model_user_prefs->get_user_preferences($_SESSION['username']);
if(ENABLE_SAAS == 1) {
$this->model_saas_customer->online($_SESSION['username']);
}
LOGGER('logged in');
if(isAdminUser() == 1) {