aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-09 03:40:56 -0800
committerfriendica <info@friendica.com>2013-02-09 03:40:56 -0800
commitd8c667288ecf6cd358751df250f2b45e476ff40c (patch)
treeeceb0931c382d9866975f91d593c95d94d214418 /include/bbcode.php
parent6d73e5c0a6b3bd8f60dbd1a71f77e6dd01028a7e (diff)
downloadvolse-hubzilla-d8c667288ecf6cd358751df250f2b45e476ff40c.tar.gz
volse-hubzilla-d8c667288ecf6cd358751df250f2b45e476ff40c.tar.bz2
volse-hubzilla-d8c667288ecf6cd358751df250f2b45e476ff40c.zip
this seems to cut load times in half
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 881f5777b..d43929ef5 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -105,6 +105,7 @@ function bb_replace_images($body, $images) {
function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
+
$a = get_app();
// Extract the private images which use data url's since preg has issues with