Fix require 3rdpartypath

This commit is contained in:
Bart Visscher 2012-07-31 22:18:16 +02:00
parent fcf3dbcfc1
commit c2bdb5c716

View file

@ -37,8 +37,8 @@ class OC_OAuth {
*/
private static function init(){
// Include the libraries
require_once(OC::$SERVERROOT.'3rdparty/oauth-php/library/OAuthServer.php');
require_once(OC::$SERVERROOT.'3rdparty/oauth-php/library/OAuthStore.php');
require_once(OC::$THIRDPARTYROOT.'3rdparty/oauth-php/library/OAuthServer.php');
require_once(OC::$THIRDPARTYROOT.'3rdparty/oauth-php/library/OAuthStore.php');
// Create the server object
self::$server = new OAuthServer();
// Initialise the OAuth store