From 1b747ec1d06c454c822e8e1d84f18e23fc64fc6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Wed, 15 Dec 2021 18:04:18 +0100 Subject: [PATCH] big update baseUrl --- core/module/config/config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/module/config/config.php b/core/module/config/config.php index ac3684b9..915bc2df 100644 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -656,6 +656,7 @@ class config extends common { // Boucler sur les pages foreach($this->getHierarchy(null,null,null) as $parentId => $childIds) { $content = $this->getPage($parentId, self::$i18n); + $titre = $this->getData(['page', $parentId, 'title']); $content = $titre . ' ' . $content ; $replace = str_replace( 'href="' . $old , 'href="'. $new , stripslashes($content),$c1) ; $replace = str_replace( 'src="' . $old , 'src="'. $new , stripslashes($replace),$c2) ;