1
0
forked from qwerty/milfs
milfskleper/rest/public/index.php
2018-10-13 12:01:33 -05:00

24 lines
609 B
PHP

<?php
session_start();
//ini_set('display_errors', 'On');
if(isset($_REQUEST['debug'])) {
print_r( $_SESSION );
ini_set('display_errors', 'On');}
use \Psr\Http\Message\ServerRequestInterface as Request;
use \Psr\Http\Message\ResponseInterface as Response;
require ('../../xajax/xajax.inc.php');
$xajax = new xajax("");
require '../vendor/autoload.php';
require "../../funciones/conex.php";
require '../../funciones/funciones.php';
$xajax->processRequests();
// $xajax->printJavascript("xajax/");
$app = new \Slim\App;
require '../src/rutas/aplicaciones.php';
///Ruta aplicaciones
$app->run();
?>