Баг при определении абсолютного пути
This commit is contained in:
parent
d3cce26fbb
commit
e558d712cd
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ class Path
|
|||
|
||||
public static function makeUrl($path)
|
||||
{
|
||||
$slash = (isset($path['host']) && strlen($path['path'] > 0) && ($path['path'][0] != '/')) ? '/' : '';
|
||||
$slash = (isset($path['host']) && (strlen($path['path']) > 0) && ($path['path'][0] != '/')) ? '/' : '';
|
||||
|
||||
return (isset($path['scheme']) ? $path['scheme'] . ':/' : '')
|
||||
. (isset($path['host']) ? ('/'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue