X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2FShorturl_api.php;h=6402dbc099615918d7ee777330b61abfe3c8873b;hb=3bc55e7b8bff2fe331371333de9ff4f96c8584d2;hp=d1fc5eb6dea23dd05c81df367cfafe1e8edd025f;hpb=e36a0fd619010c1c6dbf0c1d56c20675ed78d33e;p=quix0rs-gnu-social.git diff --git a/lib/Shorturl_api.php b/lib/Shorturl_api.php index d1fc5eb6de..6402dbc099 100644 --- a/lib/Shorturl_api.php +++ b/lib/Shorturl_api.php @@ -1,7 +1,7 @@ . */ -if (!defined('LACONICA')) { exit(1); } +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } class ShortUrlApi { protected $service_url; + protected $long_limit = 27; function __construct($service_url) {