summaryrefslogtreecommitdiff
path: root/plugins/Facebook/facebookqueuehandler.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-21 22:02:10 +0000
committerZach Copley <zach@status.net>2009-10-21 22:02:10 +0000
commit6a2185a26b6d9e7b41fb0da1043000d677714141 (patch)
tree5ce16c615b25b9dde0932b8aaac66d11944d56b3 /plugins/Facebook/facebookqueuehandler.php
parent3e5c8f28c362e945ca7d89e7aaff1e1304a9192a (diff)
Make paths and class loading work right
Diffstat (limited to 'plugins/Facebook/facebookqueuehandler.php')
-rwxr-xr-xplugins/Facebook/facebookqueuehandler.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Facebook/facebookqueuehandler.php b/plugins/Facebook/facebookqueuehandler.php
index 30de59efb..e4ae7d4ee 100755
--- a/plugins/Facebook/facebookqueuehandler.php
+++ b/plugins/Facebook/facebookqueuehandler.php
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
+define('INSTALLDIR', realpath(dirname(__FILE__) . '/../..'));
$shortoptions = 'i::';
$longoptions = array('id::');
@@ -30,8 +30,7 @@ Daemon script for pushing new notices to Facebook.
END_OF_FACEBOOK_HELP;
-require_once INSTALLDIR.'/scripts/commandline.inc';
-
+require_once INSTALLDIR . '/scripts/commandline.inc';
require_once INSTALLDIR . '/plugins/Facebook/facebookutil.php';
require_once INSTALLDIR . '/lib/queuehandler.php';