Utility function, return the current url
public static getCurrentUrl ( boolean $request_uri = true ) : string | ||
$request_uri | boolean | true to get $_SERVER['REQUEST_URI'], false for $_SERVER['PHP_SELF'] |
return | string |
public static getCurrentUrl ( boolean $request_uri = true ) : string | ||
$request_uri | boolean | true to get $_SERVER['REQUEST_URI'], false for $_SERVER['PHP_SELF'] |
return | string |