Function _rr
The more realistic function to get the current routing path on the address bar regardless of RewriteRule behind For example,
- example.com/foo/bar would return foo/bar
- example.com/en/foo/bar would also return foo/bar
- example.com/foo/bar?id=1 would also return foo/bar
- example.com/1/this-is-slug would return 1/this-is-slug
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/utility_helper.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/utility_helper.php
string
|
The route path starting from the site root |