<?php
require 'Slim/Slim.php';
\Slim\Slim::registerAutoloader();
$app = new \Slim\Slim();

\setlocale(LC_CTYPE,'fr_FR.UTF8');

define("SPECIALCONSTANT", true);

require_once 'app/libs/funciones.php';
require_once 'app/libs/connect.php';

require_once 'app/routes/api.php';
require_once 'app/routes/api_ajustes.php';
require_once 'app/routes/api_autoriz.php';
require_once 'app/routes/api_cargesfi.php';
require_once 'app/routes/api_ccarges.php';
require_once 'app/routes/api_clieauto.php';
require_once 'app/routes/api_clientes.php';
require_once 'app/routes/api_client3d.php';
require_once 'app/routes/api_crebaja.php';
require_once 'app/routes/api_crediapp.php';
require_once 'app/routes/api_creditos.php';
require_once 'app/routes/api_envideta.php';
require_once 'app/routes/api_garantia.php';
require_once 'app/routes/api_gestion.php';
require_once 'app/routes/api_observac.php';
require_once 'app/routes/api_pidedato.php';
require_once 'app/routes/api_planes.php';
require_once 'app/routes/api_plastico.php';
require_once 'app/routes/api_preventa.php';
require_once 'app/routes/api_recbaja.php';
require_once 'app/routes/api_rechazos.php';

require_once 'app/routes/api_recibos.php';
require_once 'app/routes/api_refbaja.php';
require_once 'app/routes/api_refinan.php';
require_once 'app/routes/api_riesgo.php';
require_once 'app/routes/api_tclicmr.php';

require_once 'app/routes/api_veritele.php';

$app->run();
