milfs/rest/public/index.php

25 lines
610 B
PHP
Raw Permalink Normal View History

2018-10-13 17:01:33 +00:00
<?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';
2018-10-14 02:26:34 +00:00
2018-10-13 17:01:33 +00:00
///Ruta aplicaciones
$app->run();
?>