X-Git-Url: http://git.cyclocoop.org/?p=velocampus%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Finc%2Flog.php;h=9fbb5a6ce2bba56495bbab380683b697d3f093f3;hp=33ace37a6ea5a3e9e31d37be25c1b9a1e9272579;hb=HEAD;hpb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed diff --git a/www/ecrire/inc/log.php b/www/ecrire/inc/log.php index 33ace37..9fbb5a6 100644 --- a/www/ecrire/inc/log.php +++ b/www/ecrire/inc/log.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2011 * + * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -56,7 +56,7 @@ function inc_log_dist($message, $logname=NULL, $logdir=NULL, $logsuf=NULL) { $f = @fopen($logfile, "ab"); if ($f) { - fputs($f, ($logname!==NULL) ? $m : str_replace('<','<',$m)); + fputs($f, (defined('_LOG_BRUT') AND _LOG_BRUT) ? $m : str_replace('<','<',$m)); fclose($f); }