From 5fc4b3b89a7a67bbd70fd84b8fdf840d021ca404 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Thu, 15 Nov 2018 13:23:36 +0000 Subject: [PATCH] outputhtml : remove the not needed {XXX} git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4713 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- outputhtml.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/outputhtml.php b/outputhtml.php index 7a9f24f..ced574d 100644 --- a/outputhtml.php +++ b/outputhtml.php @@ -105,8 +105,10 @@ EOT; else $layoutPage = str_replace ("{content}", $resView, $layoutPage); + // Remove the not used {XXX} + $layoutPage = preg_replace ("~({\S+})~", "", $layoutPage); - //echo $resView;exit; + //echo $layoutPage;exit; // Manage the timestamp/md5sum for the external files managed by this // server. $dom = new \DOMDocument ();