git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 9933c00c authored by mmn's avatar mmn

TwitterBridge PHP require_once paths now relative

parent a9676f5b
......@@ -30,7 +30,7 @@ if (!defined('STATUSNET')) {
exit(1);
}
require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
require_once __DIR__ . '/twitter.php';
/**
* Plugin for sending and importing Twitter statuses
......
......@@ -32,7 +32,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
require_once dirname(__DIR__) . '/twitter.php';
/**
* Class for doing OAuth authentication against Twitter
......
......@@ -32,7 +32,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
require_once dirname(__DIR__) . '/twitter.php';
/**
* Page for logging in with Twitter
......
......@@ -31,7 +31,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
require_once dirname(__DIR__) . '/twitter.php';
/**
* Settings for Twitter integration
......
......@@ -31,7 +31,7 @@ Batch script for synching local friends with Twitter friends.
END_OF_TRIM_HELP;
require_once INSTALLDIR . '/scripts/commandline.inc';
require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
require_once dirname(__DIR__) . '/twitter.php';
/**
* Daemon to sync local friends with Twitter friends
......
......@@ -39,7 +39,7 @@ END_OF_TRIM_HELP;
require_once INSTALLDIR . '/scripts/commandline.inc';
require_once INSTALLDIR . '/lib/common.php';
require_once INSTALLDIR . '/lib/daemon.php';
require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
require_once dirname(__DIR__) . '/twitter.php';
/**
* Fetch statuses from Twitter
......
......@@ -19,7 +19,7 @@
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
require_once dirname(__DIR__) . '/twitter.php';
/**
* Queue handler to deal with incoming Twitter status updates, as retrieved by
......
......@@ -31,7 +31,7 @@ if (!defined('STATUSNET')) {
exit(1);
}
require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
require_once dirname(__DIR__) . '/twitter.php';
/**
* Encapsulation of the Twitter status -> notice incoming bridge import.
......
......@@ -19,7 +19,7 @@
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
require_once dirname(__DIR__) . '/twitter.php';
class TwitterQueueHandler extends QueueHandler
{
......
......@@ -19,7 +19,7 @@
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
require_once __DIR__ . '/twitter.php';
/**
* Queue handler to deal with incoming Twitter status updates, as retrieved by
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment