1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

Function update

This commit is contained in:
Daniel Neto 2024-11-04 10:28:08 -03:00
parent b5d4139547
commit d5aa44dece
5 changed files with 21 additions and 8 deletions

View file

@ -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 {