first alpha
This commit is contained in:
@ -4,14 +4,14 @@ if ( !isset($site) )
|
||||
require_once( "config.inc.php" );
|
||||
header( 'Location: ' . $accueil );
|
||||
}
|
||||
require_once( "db.class.php" );
|
||||
|
||||
require_once 'db.class.php';
|
||||
require_once 'envoi_courriel.inc.php';
|
||||
|
||||
// $level => INFO, ALERT, ERROR
|
||||
function log_write($log, $level=INFO)
|
||||
{
|
||||
require_once( "envoi_courriel.inc.php" );
|
||||
global $table_prefix;
|
||||
global $table_prefix, $webmaster;
|
||||
$user = ( !empty( $_SERVER["PHP_AUTH_USER"])?$_SERVER["PHP_AUTH_USER"]:'' );
|
||||
$log_mail = str_replace ( "<br />", "\n", $log ) . "\n";
|
||||
$log_mail .= ( !empty( $_SERVER["REQUEST_METHOD"])?'$_SERVER["REQUEST_METHOD"]' . $_SERVER["REQUEST_METHOD"] . "\n":'' );
|
||||
|
Reference in New Issue
Block a user