From b968882a7e95b9517da7ae17cb74527576991cb4 Mon Sep 17 00:00:00 2001 From: temp Date: Fri, 30 Jan 2009 09:28:35 +0000 Subject: [PATCH] fixed include paths git-svn-id: svn://netflint.net/xmpphp@75 ef36c318-a008-4979-b6e8-6b496270793b --- XMPPHP/BOSH.php | 2 +- XMPPHP/XMLStream.php | 6 +++--- XMPPHP/XMPP.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/XMPPHP/BOSH.php b/XMPPHP/BOSH.php index b147443..befaf60 100644 --- a/XMPPHP/BOSH.php +++ b/XMPPHP/BOSH.php @@ -27,7 +27,7 @@ */ /** XMPPHP_XMLStream */ -require_once "XMPP.php"; +require_once dirname(__FILE__) . "/XMPP.php"; /** * XMPPHP Main Class diff --git a/XMPPHP/XMLStream.php b/XMPPHP/XMLStream.php index 0fcfea3..163b12b 100644 --- a/XMPPHP/XMLStream.php +++ b/XMPPHP/XMLStream.php @@ -27,13 +27,13 @@ */ /** XMPPHP_Exception */ -require_once 'Exception.php'; +require_once dirname(__FILE__) . '/Exception.php'; /** XMPPHP_XMLObj */ -require_once 'XMLObj.php'; +require_once dirname(__FILE__) . '/XMLObj.php'; /** XMPPHP_Log */ -require_once 'Log.php'; +require_once dirname(__FILE__) . '/Log.php'; /** * XMPPHP XML Stream diff --git a/XMPPHP/XMPP.php b/XMPPHP/XMPP.php index b3ef7f7..429f45e 100644 --- a/XMPPHP/XMPP.php +++ b/XMPPHP/XMPP.php @@ -27,8 +27,8 @@ */ /** XMPPHP_XMLStream */ -require_once "XMLStream.php"; -require_once "Roster.php"; +require_once dirname(__FILE__) . "/XMLStream.php"; +require_once dirname(__FILE__) . "/Roster.php"; /** * XMPPHP Main Class