diff options
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 9cd5ad58c..c6ec060af 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -373,7 +373,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) { } } - $Text = str_replace(array('[baseurl]','[sitename]'),array(z_root(),get_config('system','sitename')),$Text); + $Text = str_replace(array('[baseurl]','[sitename]','[sitepath]'),array(z_root(),get_config('system','sitename'),$_SESSION['return_url']),$Text); // Replace any html brackets with HTML Entities to prevent executing HTML or script |