Browse Source

Notice en moins lorsque les méta ne sont pas encore calculées ou n'ont pas pu l'être.

svn/root/tags/plugins/statistiques/0.7.0
marcimat@rezo.net 7 years ago
parent
commit
cca5178cc7
  1. 2
      stats_pipelines.php

2
stats_pipelines.php

@ -26,7 +26,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return;
* @return array
**/
function stats_affichage_entetes_final($entetes){
if ($GLOBALS['meta']["activer_statistiques"] != "non") {
if (isset($GLOBALS['meta']["activer_statistiques"]) and $GLOBALS['meta']["activer_statistiques"] != "non") {
$html = preg_match(',^\s*text/html,', $entetes['Content-Type']);
// decomptage des visites, on peut forcer a oui ou non avec le header X-Spip-Visites

Loading…
Cancel
Save