13 lines
322 B
PHP
13 lines
322 B
PHP
<?php
|
|
// Script de prueba para ejecutar api/get_users.php en modo debug
|
|
$_GET['debug'] = 'true';
|
|
chdir(__DIR__ . '/../api');
|
|
ob_start();
|
|
try {
|
|
include 'get_users.php';
|
|
} catch (Throwable $t) {
|
|
echo "Throwable: " . $t->getMessage() . "\n";
|
|
echo $t->getTraceAsString() . "\n";
|
|
}
|
|
$out = ob_get_clean();
|
|
echo $out; |