X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=twitter%2Ftwitter.php;h=5440f524ac94f49675732949cf63fa5e08b10ac0;hb=d18bb44f8a58b0aa8ecd82eab25caca3f9f574b6;hp=50239b8bef54cb670dce859ad088f8fb77152ad5;hpb=01738518a25392aefea8586463121024ae3a1a4c;p=friendica-addons.git diff --git a/twitter/twitter.php b/twitter/twitter.php index 50239b8b..5440f524 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -83,7 +83,7 @@ require_once 'include/dba.php'; require_once 'include/enotify.php'; require_once 'include/text.php'; -require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'; +require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'; define('TWITTER_DEFAULT_POLL_INTERVAL', 5); // given in minutes