From c4a3f80a6dccdff9b2abff6f159ef8fdd4382787 Mon Sep 17 00:00:00 2001 From: polo Date: Mon, 15 Jul 2024 17:49:31 +0200 Subject: =?UTF-8?q?d=C3=A9placement=20dossier=20d'ex=C3=A9cution,=20suppre?= =?UTF-8?q?ssion=20de=20Config::checkPath,=20bugs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Latex.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Latex.php') diff --git a/src/Latex.php b/src/Latex.php index 6f1219f..f7f18ea 100644 --- a/src/Latex.php +++ b/src/Latex.php @@ -47,7 +47,7 @@ abstract class Latex public function makeLatex() { $data = $this->data; // tableau à inséré dans du code latex - include('latex_templates/' . $this->type . '.php'); + include('src/latex_templates/' . $this->type . '.php'); $this->latex = $latex; // buffer récupéré par ob_get_clean() // QUESTION: @@ -143,7 +143,7 @@ abstract class PrestaLatex extends Latex // on obtient la variable $latex avec ob_get_clean() // le include() ici, c'est du génie ou c'est moche ou les deux? // un nouveau fichier php est inséré à chaque itération - include('latex_templates/' . $this->type . '.php'); + include('src/latex_templates/' . $this->type . '.php'); // on retourne le buffer // normallement le code PHP inséré avec include est nettoyé en quittant la fonction -- cgit v1.2.3