aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-12 11:42:33 -0800
committerfriendica <info@friendica.com>2014-02-12 11:42:33 -0800
commite47035f85a680344f2d5f58971ca2629c70c7838 (patch)
tree7b1eb17e192efebbe9f9259596b2933f0cf98ed0 /include/bbcode.php
parentba360b434714311baacf9b692f838e1d9490925c (diff)
downloadvolse-hubzilla-e47035f85a680344f2d5f58971ca2629c70c7838.tar.gz
volse-hubzilla-e47035f85a680344f2d5f58971ca2629c70c7838.tar.bz2
volse-hubzilla-e47035f85a680344f2d5f58971ca2629c70c7838.zip
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
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
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