TASK-232 Change encryt with URL_KEY and Deprecate encryptlink
This commit is contained in:
@@ -2519,14 +2519,14 @@ class Bootstrap
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypt URL
|
||||
* Encrypt URL DEPRECATED
|
||||
*
|
||||
* @author Fernando Ontiveros Lira <fernando@colosa.com>
|
||||
* @access public
|
||||
* @param string $urlLink
|
||||
* @return string
|
||||
*/
|
||||
public function encryptlink($url)
|
||||
public function encryptlinkDeprecated($url)
|
||||
{
|
||||
if (defined('ENABLE_ENCRYPT') && ENABLE_ENCRYPT == 'yes') {
|
||||
return urlencode(Bootstrap::encrypt($url, URL_KEY));
|
||||
|
||||
Reference in New Issue
Block a user