aboutsummaryrefslogtreecommitdiffstats
path: root/addon/twitter/twitter.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/twitter/twitter.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/twitter/twitter.php')
-rw-r--r--addon/twitter/twitter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/twitter/twitter.php b/addon/twitter/twitter.php
index 0b706f9b1..509297d4e 100644
--- a/addon/twitter/twitter.php
+++ b/addon/twitter/twitter.php
@@ -99,7 +99,7 @@ function twitter_settings_post ($a,$post) {
if (isset($_POST['twitter-pin'])) {
// if the user supplied us with a PIN from Twitter, let the magic of OAuth happen
logger('got a Twitter PIN');
- require_once('addon/twitter/twitteroauth.php');
+ require_once('library/twitteroauth.php');
$ckey = get_config('twitter', 'consumerkey' );
$csecret = get_config('twitter', 'consumersecret' );
// the token and secret for which the PIN was generated were hidden in the settings
@@ -224,7 +224,7 @@ function twitter_post_hook(&$a,&$b) {
$msg = strip_tags(bbcode($b['body']));
if ( strlen($msg) > $max_char) {
$shortlink = "";
- require_once('addon/twitter/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