acf
This commit is contained in:
23
plugins/system/nrframework/helpers/urls/tinyurl.php
Normal file
23
plugins/system/nrframework/helpers/urls/tinyurl.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author Tassos Marinos <info@tassos.gr>
|
||||
* @link https://www.tassos.gr
|
||||
* @copyright Copyright © 2024 Tassos All Rights Reserved
|
||||
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
class nrURLShortTinyURL extends NRURLShortener
|
||||
{
|
||||
|
||||
protected $needsKey = false;
|
||||
protected $needsLogin = false;
|
||||
|
||||
function baseURL()
|
||||
{
|
||||
return "http://tinyurl.com/api-create.php?url=".urlencode($this->url);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user