HOR-4446
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
parent
131551818f
commit
bf4a9aca03
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
session_start();
|
||||
require_once __DIR__ . '/../../../bootstrap/autoload.php';
|
||||
require_once (dirname(__FILE__) . '/../../../gulliver/system/class.bootstrap.php');
|
||||
require_once (dirname(__FILE__) . '/../../../gulliver/system/class.g.php');
|
||||
|
||||
@@ -112,8 +114,7 @@ if( !isset($_SESSION['USER_LOGGED']) || $_SESSION['USER_LOGGED'] != $decodedResp
|
||||
$_SESSION['USR_FULLNAME'] = $decodedResp->user['0']->USR_FIRSTNAME . ' ' . $decodedResp->user['0']->USR_LASTNAME;
|
||||
$_SESSION['__sw__'] = 1;
|
||||
initUserSession(
|
||||
$decodedResp->user['0']->USR_UID,
|
||||
$decodedResp->user['0']->USR_USERNAME
|
||||
$decodedResp->user['0']->USR_UID, $decodedResp->user['0']->USR_USERNAME
|
||||
);
|
||||
//session created
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user