diff options
Diffstat (limited to 'mod/share.php')
-rw-r--r-- | mod/share.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/share.php b/mod/share.php index 198a6b210..43206b487 100644 --- a/mod/share.php +++ b/mod/share.php @@ -1,7 +1,7 @@ <?php require_once('include/security.php'); -require_once('bbcode.php'); +require_once('include/bbcode.php'); function share_init(&$a) { @@ -69,7 +69,7 @@ function share_init(&$a) { killme(); } - $observer = $a->get_observer(); + $observer = App::get_observer(); $parsed = $observer['xchan_url']; if($parsed) { $post_url = $parsed['scheme'] . ':' . $parsed['host'] . (($parsed['port']) ? ':' . $parsed['port'] : '') |