From e47035f85a680344f2d5f58971ca2629c70c7838 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 12 Feb 2014 11:42:33 -0800 Subject: bbcode element of where you are on a site. perhaps this is less than generally useful but I plan to use it in a demo video where there is no other way to accomplish this --- include/bbcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3