mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
Use new Security and URL classes in other places
This commit is contained in:
parent
28da8948d7
commit
b962409652
3 changed files with 18 additions and 66 deletions
|
|
@ -407,9 +407,10 @@ function getFullSiteUrl()
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
function getCurrentPageUrl()
|
||||
function getCurrentPageUrl($escape = true)
|
||||
{
|
||||
return escape((RX_SSL ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
|
||||
$url = Rhymix\Framework\URL::getCurrentURL();
|
||||
return $escape ? escape($url) : $url;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue