Preparando proyecto para migración a repositorio MVE

This commit is contained in:
2025-10-23 08:48:00 -06:00
parent b1b9e4a77c
commit d0af739ce2
75 changed files with 15875 additions and 4022 deletions

26
public/debug.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
echo "=== DEBUG IMPORTADOR ===\n";
echo "POST: " . print_r($_POST, true) . "\n";
echo "FILES: " . print_r($_FILES, true) . "\n";
echo "SESSION: " . print_r($_SESSION ?? [], true) . "\n";
// Test de conexión a base de datos
try {
require_once __DIR__ . '/../config/database.php';
echo "Config database cargado OK\n";
$conn = getConnection();
echo "Conexión exitosa\n";
sqlsrv_close($conn);
echo "Conexión cerrada OK\n";
} catch (Exception $e) {
echo "ERROR: " . $e->getMessage() . "\n";
}
echo "=== FIN DEBUG ===\n";
?>