/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-2014 *
+ * Copyright (c) 2001-2016 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
if (!defined("_ECRIRE_INC_VERSION")) return;
-// http://doc.spip.org/@public_stats_dist
+// http://code.spip.net/@public_stats_dist
function public_stats_dist() {
// $_SERVER["HTTP_REFERER"] ne fonctionne pas partout
if (isset($_SERVER['HTTP_REFERER'])) $referer = $_SERVER['HTTP_REFERER'];
ecrire_fichier($fichier, serialize($content));
}
+ else {
+ $flood = sous_repertoire(_DIR_TMP, 'flood') . $GLOBALS['ip'];
+ @touch($flood);
+ }
}
?>