diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/common.php b/lib/common.php index 9269ace89..ff56b0920 100644 --- a/lib/common.php +++ b/lib/common.php @@ -116,7 +116,9 @@ require_once(INSTALLDIR.'/lib/theme.php'); require_once(INSTALLDIR.'/lib/mail.php'); function __autoload($class) { - if (file_exists(INSTALLDIR.'/classes/' . $class . '.php')) { + if ($class == 'OAuthRequest') { + require_once('OAuth.php'); + } else if (file_exists(INSTALLDIR.'/classes/' . $class . '.php')) { require_once(INSTALLDIR.'/classes/' . $class . '.php'); } } |