app/models/Users.php 1 location
|
@@ 403-405 (lines=3) @@
|
400 |
|
public function logout() { |
401 |
|
global $session, $config; |
402 |
|
|
403 |
|
if(null != $session->get($config['sessions']['unique'] . '_user_id')) { |
404 |
|
$session->remove($config['sessions']['unique'] . '_user_id'); |
405 |
|
} |
406 |
|
|
407 |
|
$this->functions->redir(); |
408 |
|
} |
Ocrend/Kernel/Models/Models.php 1 location
|
@@ 65-67 (lines=3) @@
|
62 |
|
$this->functions = new Functions(); |
63 |
|
|
64 |
|
# Verificar sesión del usuario |
65 |
|
if(null !== $session->get($config['sessions']['unique'] . '_user_id')) { |
66 |
|
$this->id_user = $session->get($config['sessions']['unique'] . '_user_id'); |
67 |
|
} |
68 |
|
} |
69 |
|
|
70 |
|
/** |