mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 16:47:01 +02:00
added online users feature
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user