TASK-232 Change encryt with URL_KEY and Deprecate encryptlink

This commit is contained in:
Brayan Pereyra
2025-09-23 19:52:18 +00:00
parent 554b4ad14b
commit 157f04d328
8 changed files with 10 additions and 19 deletions

View File

@@ -770,14 +770,14 @@ class G
}
/**
* Encrypt URL
* Encrypt URL DEPRECATED
*
* @author Fernando Ontiveros Lira <fernando@colosa.com>
* @access public
* @param string $urlLink
* @return string
*/
public static function encryptlink($url)
public static function encryptlinkDeprecated($url)
{
if (defined('ENABLE_ENCRYPT') && ENABLE_ENCRYPT == 'yes') {
return urlencode(G::encrypt($url, URL_KEY));