mirror of
https://github.com/typemill/typemill.git
synced 2025-07-31 03:10:19 +02:00
v2.1 delete port from uri
This commit is contained in:
@@ -9,6 +9,7 @@ class Helpers{
|
||||
public static function urlInfo($uri)
|
||||
{
|
||||
$uri = $uri->withUserInfo('');
|
||||
$uri = $uri->withPort(null);
|
||||
|
||||
$basepath = preg_replace('/(.*)\/.*/', '$1', $_SERVER['SCRIPT_NAME']);
|
||||
$currentpath = $uri->getPath();
|
||||
|
Reference in New Issue
Block a user