uawdijnntqw1x1x1
IP : 216.73.216.90
Hostname : webm001.cluster110.gra.hosting.ovh.net
Kernel : Linux webm001.cluster110.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
etiennec
/
www
/
b9da6
/
..
/
ecrire
/
auth
/
..
/
notifications
/
..
/
public
/
evaluer_page.php
/
/
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. * \***************************************************************************/ if (!defined('_ECRIRE_INC_VERSION')) return; /** * Evaluer la page produite par un squelette * * Évalue une page pour la transformer en texte statique * Elle peut contenir un < ?xml a securiser avant eval * ou du php d'origine inconnue * * Attention cette partie eval() doit impérativement * être déclenchée dans l'espace des globales (donc pas * dans une fonction). * * @param array $page * @return bool */ $res = true; // Cas d'une page contenant du PHP : if ($page['process_ins'] != 'html') { /** * Teste si on a déjà évalué du PHP * * Inclure inc/lang la première fois pour définir spip_lang * si ça n'a pas encore été fait. */ if (!defined('_EVALUER_PAGE_PHP')) { define('_EVALUER_PAGE_PHP', true); include_spip('inc/lang'); } // restaurer l'etat des notes avant calcul if (isset($page['notes']) AND $page['notes'] AND $notes = charger_fonction("notes","inc",true)){ $notes($page['notes'],'restaurer_etat'); } ob_start(); if (strpos($page['texte'],'?xml')!==false) $page['texte'] = str_replace('<'.'?xml', "<\1?xml", $page['texte']); $res = eval('?' . '>' . $page['texte']); $page['texte'] = ob_get_contents(); ob_end_clean(); $page['process_ins'] = 'html'; if (strpos($page['texte'],'?xml')!==false) $page['texte'] = str_replace("<\1?xml", '<'.'?xml', $page['texte']); } page_base_href($page['texte']);
/home/etiennec/www/b9da6/../ecrire/auth/../notifications/../public/evaluer_page.php