/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-2012 *
+ * Copyright (c) 2001-2014 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
// s'il y a une extension .php, ce n'est pas un squelette
if (preg_match('/^.+[.]php$/s', $fichier)) {
- $code = sandbox_composer_inclure_php($fichier, $p);
+ $code = sandbox_composer_inclure_php($fichier, $p, $contexte);
} else {
$_options[] = "\"compil\"=>array($compil)";
if ($ajax)
}%s
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
- spip_log(intval(1000*$timer)."ms %s","profiler");
+ spip_log(intval(1000*$timer)."ms %s","profiler"._LOG_AVERTISSEMENT);
return $t0;'
);