debuggage
This commit is contained in:
parent
c43b255ff2
commit
4ec41ed710
4
log.php
4
log.php
@ -8,7 +8,7 @@
|
|||||||
require_once( "entete_mail.php" );
|
require_once( "entete_mail.php" );
|
||||||
|
|
||||||
// $level => INFO, ALERT, ERROR
|
// $level => INFO, ALERT, ERROR
|
||||||
/*function log_write($log, $level=INFO)
|
function log_write($log, $level=INFO)
|
||||||
{
|
{
|
||||||
global $table_prefix, $webmaster, $headers;
|
global $table_prefix, $webmaster, $headers;
|
||||||
$user = ( !empty( $_SERVER["PHP_AUTH_USER"])?$_SERVER["PHP_AUTH_USER"]:'' );
|
$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 );
|
mail( $webmaster, "Erreur Site Web", $log_mail, $headers );
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
|
|
||||||
// $db = true -> écrire les logs dans la base (défaut)
|
// $db = true -> écrire les logs dans la base (défaut)
|
||||||
// $die = true -> execute die()
|
// $die = true -> execute die()
|
||||||
|
Reference in New Issue
Block a user