Move Tumblr addon dependencies to library subfolder

- Move OAuth1 to library/OAuth1.php
- Move TumblOAuth to library/tumblroauth.php
This commit is contained in:
Hypolite Petovan 2018-01-28 14:43:56 -05:00
parent 7afef6b87f
commit 715edd98e2
3 changed files with 1120 additions and 1121 deletions

View file

@ -7,7 +7,7 @@
*/
/* Load OAuth lib. You can find it at http://oauth.net */
//require_once('OAuth.php');
require_once __DIR__ . DIRECTORY_SEPARATOR . 'OAuth1.php';
/**
* Tumblr OAuth class

View file

@ -7,8 +7,7 @@
* Author: Michael Vogel <https://pirati.ca/profile/heluecht>
*/
require_once 'library/OAuth1.php';
require_once 'addon/tumblr/tumblroauth/tumblroauth.php';
require_once __DIR__ . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR . 'tumblroauth.php';
use Friendica\Content\Text\BBCode;
use Friendica\Core\Addon;