Browse Source

#16 : ne pas avoir les infos sur les pages RSS par exemple

pull/19/head
Pierre KUHN 1 year ago
parent
commit
a28a1f6fbb
  1. 2
      tarteaucitron_pipelines.php

2
tarteaucitron_pipelines.php

@ -46,7 +46,7 @@ function tarteaucitron_insert_head($flux) {
* @return mixed
*/
function tarteaucitron_affichage_final($page) {
if (!test_espace_prive() and tarteaucitron_actif()) {
if (!$GLOBALS['html'] and !test_espace_prive() and tarteaucitron_actif()) {
foreach($GLOBALS['contexte'] as $k => &$v) {
if (preg_match(',^id_(\w+)$,S', $k, $r)
AND ($id = intval($v))>0

Loading…
Cancel
Save