X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fpublic%2Fcompiler.php;fp=www%2Fecrire%2Fpublic%2Fcompiler.php;h=178f7a1f767d23d0d06fcc36257875ffffe147df;hp=eac227b089bcc636e84cacf4a98b285ba730fd4a;hb=2e90803a52939dfb20987e3c0fdcdb9676c47aa9;hpb=94bf708c1d33740fb69957c922eb2bccacc2fa63 diff --git a/www/ecrire/public/compiler.php b/www/ecrire/public/compiler.php index eac227b0..178f7a1f 100644 --- a/www/ecrire/public/compiler.php +++ b/www/ecrire/public/compiler.php @@ -184,7 +184,7 @@ function calculer_inclure($p, &$boucles, $id_boucle) { // 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)