diff --git a/ecrire/inc/plugin.php b/ecrire/inc/plugin.php index bd9968cf8ef2dfba8cfe3889342aeda8a9575724..d88d346bbdad8551af368f0de48cac8adbf3d13d 100644 --- a/ecrire/inc/plugin.php +++ b/ecrire/inc/plugin.php @@ -843,7 +843,6 @@ function ecrire_plugin_actifs($plugin, $pipe_recherche = false, $operation = 'ra $liste = array_diff_key($liste, $plugin_valides); ecrire_meta('plugin_attente', serialize($liste)); $header = strtolower(implode(",", $header)); - ecrire_meta('plugin_header', substr($header, 0, 900)); if (!isset($GLOBALS['spip_header_silencieux']) or !$GLOBALS['spip_header_silencieux']) { ecrire_fichier(_DIR_VAR . "config.txt", (defined('_HEADER_COMPOSED_BY') ? _HEADER_COMPOSED_BY : "Composed-By: SPIP") . ' ' . $GLOBALS['spip_version_affichee'] . " @ www.spip.net + " . $header); diff --git a/ecrire/inc_version.php b/ecrire/inc_version.php index cd2e6fecabf2ef968d162b138de722b7687614a5..a387fa14d1dd135a48ccfeea27822c23b7270205 100644 --- a/ecrire/inc_version.php +++ b/ecrire/inc_version.php @@ -505,7 +505,7 @@ if (!defined('_HEADER_COMPOSED_BY')) { if (!headers_sent()) { header("Vary: Cookie, Accept-Encoding"); if (!isset($GLOBALS['spip_header_silencieux']) or !$GLOBALS['spip_header_silencieux']) { - header(_HEADER_COMPOSED_BY . " $spip_version_affichee @ www.spip.net" . (isset($GLOBALS['meta']['plugin_header']) ? (" + " . $GLOBALS['meta']['plugin_header']) : "")); + header(_HEADER_COMPOSED_BY . " $spip_version_affichee @ www.spip.net + " . url_absolue(_DIR_VAR . "config.txt")); } else // header minimal { header(_HEADER_COMPOSED_BY . " @ www.spip.net");