From 4ec41ed710bc012e7495431bd29574e082dc4d78 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 30 Nov 2019 00:09:08 +0100 Subject: [PATCH] debuggage --- log.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log.php b/log.php index 91d0fba..e820871 100644 --- a/log.php +++ b/log.php @@ -8,7 +8,7 @@ require_once( "entete_mail.php" ); // $level => INFO, ALERT, ERROR -/*function log_write($log, $level=INFO) +function log_write($log, $level=INFO) { global $table_prefix, $webmaster, $headers; $user = ( !empty( $_SERVER["PHP_AUTH_USER"])?$_SERVER["PHP_AUTH_USER"]:'' ); @@ -48,7 +48,7 @@ require_once( "entete_mail.php" ); { mail( $webmaster, "Erreur Site Web", $log_mail, $headers ); } -}*/ +} // $db = true -> écrire les logs dans la base (défaut) // $die = true -> execute die()