aboutsummaryrefslogtreecommitdiffstats
path: root/addon/statusnet/statusnet.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-21 20:19:33 -0800
committerFriendika <info@friendika.com>2011-02-21 20:19:33 -0800
commit5f2f64406407839d0a9d906e0ad165067d90d130 (patch)
tree08734b4cd12d7c66756bcde3d5bf9cf1ad32c67e /addon/statusnet/statusnet.php
parentd124c67322b8f79f18152d6f24394b3a38b4e0f5 (diff)
downloadvolse-hubzilla-5f2f64406407839d0a9d906e0ad165067d90d130.tar.gz
volse-hubzilla-5f2f64406407839d0a9d906e0ad165067d90d130.tar.bz2
volse-hubzilla-5f2f64406407839d0a9d906e0ad165067d90d130.zip
resolve file inclusion conflicts w/ multiple plugins, improve the typo checker
Diffstat (limited to 'addon/statusnet/statusnet.php')
-rw-r--r--addon/statusnet/statusnet.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/addon/statusnet/statusnet.php b/addon/statusnet/statusnet.php
index c7e16b56e..7928003bc 100644
--- a/addon/statusnet/statusnet.php
+++ b/addon/statusnet/statusnet.php
@@ -30,7 +30,9 @@
*
* Thank you guys for the Twitter compatible API!
*/
-require_once('addon/twitter/twitteroauth.php');
+
+require_once('library/twitteroauth.php');
+
class StatusNetOAuth extends TwitterOAuth {
function get_maxlength() {
$config = $this->get($this->host . 'statusnet/config.json');
@@ -216,7 +218,7 @@ function statusnet_post_hook(&$a,&$b) {
$msg = strip_tags(bbcode($b['body']));
if ( strlen($msg) > $max_char) {
$shortlink = "";
- require_once('addon/statusnet/slinky.php');
+ require_once('library/slinky.php');
// post url = base url + /display/ + owner + post id
// we construct this from the Owner link and replace
// profile by display - this will cause an error when