Files
idpan.poznan.pl/plugins/system/nrframework/helpers/urls/bitly.php
2026-02-08 21:16:11 +01:00

20 lines
519 B
PHP

<?php
/**
* @author Tassos Marinos <info@tassos.gr>
* @link http://www.tassos.gr
* @copyright Copyright © 2021 Tassos Marinos All Rights Reserved
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/
defined('_JEXEC') or die;
class nrURLShortBitly extends NRURLShortener
{
function baseURL()
{
return 'http://api.bit.ly/v3/shorten?login='.$this->service->login.'&apiKey='.$this->service->api.'&format=txt&uri='.urlencode($this->url);
}
}