From 7420896693589f1a4a5e91cef5c13852599464fd Mon Sep 17 00:00:00 2001 From: Habeas Codice Date: Sun, 18 Jan 2015 18:41:11 -0800 Subject: allow system-loaded (i.e. pecl-oauth) to coexist --- library/twitteroauth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/twitteroauth.php b/library/twitteroauth.php index 009ad56bd..a40949534 100644 --- a/library/twitteroauth.php +++ b/library/twitteroauth.php @@ -7,7 +7,8 @@ */ /* Load OAuth lib. You can find it at http://oauth.net */ -require_once('library/OAuth1.php'); +if(!class_exists('OAuthException')) + require_once('library/OAuth1.php'); /** * Twitter OAuth class -- cgit v1.2.3