diff options
author | Zach Copley <zach@status.net> | 2009-10-21 22:02:10 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-10-21 22:02:10 +0000 |
commit | 6a2185a26b6d9e7b41fb0da1043000d677714141 (patch) | |
tree | 5ce16c615b25b9dde0932b8aaac66d11944d56b3 /plugins/Facebook/facebookqueuehandler.php | |
parent | 3e5c8f28c362e945ca7d89e7aaff1e1304a9192a (diff) |
Make paths and class loading work right
Diffstat (limited to 'plugins/Facebook/facebookqueuehandler.php')
-rwxr-xr-x | plugins/Facebook/facebookqueuehandler.php | 5 |
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'; |