X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/381f2d6ec29c08264a6fcf5066ff97cc32698595..913fb0f876f2170bd537b5eaa4648315b7d59a46:/lib/functions.php

diff --git a/lib/functions.php b/lib/functions.php
index a89d8b8..6c9c832 100644
--- a/lib/functions.php
+++ b/lib/functions.php
@@ -1373,11 +1373,13 @@ jirafeau_replace_markers ($content, $htmllinebreaks = false)
 {
     $patterns = array(
         '/###ORGANISATION###/',
-        '/###CONTACTPERSON###/'
+        '/###CONTACTPERSON###/',
+        '/###WEBROOT###/'
     );
     $replacements = array(
-        '[ORGANISATION PROVIDING THIS WEBSITE]',
-        'contact@[THIS WEBSITE]'
+        $GLOBALS['cfg']['organisation'],
+        $GLOBALS['cfg']['contactperson'],
+        $GLOBALS['cfg']['web_root']
     );
     $content = preg_replace($patterns, $replacements, $content);