outputhtml : remove the not needed {XXX}

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4713 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2018-11-15 13:23:36 +00:00
parent 6014d0587d
commit 5fc4b3b89a

View File

@@ -105,8 +105,10 @@ EOT;
else else
$layoutPage = str_replace ("{content}", $resView, $layoutPage); $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 // Manage the timestamp/md5sum for the external files managed by this
// server. // server.
$dom = new \DOMDocument (); $dom = new \DOMDocument ();