generacion de token
This commit is contained in:
parent
c9044c57da
commit
fa0da963dd
@ -1,11 +1,12 @@
|
||||
<?php
|
||||
date_default_timezone_set('America/Bogota');
|
||||
//@require_once 'rest/vendor/autoload.php';
|
||||
//@require_once 'milfs/rest/vendor/autoload.php';
|
||||
//require_once 'rest/vendor/autoload.php';
|
||||
//require_once 'milfs/rest/vendor/autoload.php';
|
||||
|
||||
//@use Firebase\JWT\JWT;
|
||||
use Firebase\JWT\JWT;
|
||||
|
||||
function generar_token($div,$tipo) {
|
||||
require_once 'rest/vendor/autoload.php';
|
||||
$valor= intval(preg_replace('/[^0-9]+/', '', $div), 10); ;
|
||||
$respuesta = new xajaxResponse('utf-8');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user