Primer commit del sistema separado falta mejorar mucho

This commit is contained in:
nickpons666
2025-12-30 01:18:46 -06:00
commit 1679c73e52
2384 changed files with 472342 additions and 0 deletions

10
Sistema_discord/logger.php Executable file
View File

@@ -0,0 +1,10 @@
<?php
// Función de depuración personalizada
if (!function_exists('custom_log')) {
function custom_log($message) {
$logFile = __DIR__ . '/../logs/custom_debug.log'; // Adjust path as needed
$timestamp = date('Y-m-d H:i:s');
file_put_contents('php://stderr', "[$timestamp] $message\n", FILE_APPEND);
}
}
?>