1
0
forked from qwerty/milfs

generacion de token

This commit is contained in:
humano 2018-10-21 12:13:26 -05:00
parent c9044c57da
commit fa0da963dd

View File

@ -1,11 +1,12 @@
<?php <?php
date_default_timezone_set('America/Bogota'); date_default_timezone_set('America/Bogota');
//@require_once 'rest/vendor/autoload.php'; //require_once 'rest/vendor/autoload.php';
//@require_once 'milfs/rest/vendor/autoload.php'; //require_once 'milfs/rest/vendor/autoload.php';
//@use Firebase\JWT\JWT; use Firebase\JWT\JWT;
function generar_token($div,$tipo) { function generar_token($div,$tipo) {
require_once 'rest/vendor/autoload.php';
$valor= intval(preg_replace('/[^0-9]+/', '', $div), 10); ; $valor= intval(preg_replace('/[^0-9]+/', '', $div), 10); ;
$respuesta = new xajaxResponse('utf-8'); $respuesta = new xajaxResponse('utf-8');