diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/bbcode.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index d6bc53d12..1aabbc129 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -567,6 +567,9 @@ function parseIdentityAwareHTML($Text) { $Text = str_replace('[observer.webname]','',$Text); $Text = str_replace('[observer.photo]','', $Text); } + + $Text = str_replace(array('[baseurl]','[sitename]'),array(z_root(),get_config('system','sitename')),$Text); + return $Text; } |