1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-11-30 00:09:08 +01:00
parent c43b255ff2
commit 4ec41ed710

View File

@ -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()