mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Function update
This commit is contained in:
parent
b5d4139547
commit
d5aa44dece
5 changed files with 21 additions and 8 deletions
|
@ -1032,7 +1032,7 @@ function fixPath($path, $addLastSlash = false)
|
|||
if (empty($path)) {
|
||||
return false;
|
||||
}
|
||||
if (isWindows()) {
|
||||
if (isWindowsServer()) {
|
||||
$path = str_replace('/', DIRECTORY_SEPARATOR, $path);
|
||||
$path = str_replace('\\\\\\', DIRECTORY_SEPARATOR, $path);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue