master
elf 3 years ago
parent 2f60cd3c31
commit 6e87d5c700

@ -242,7 +242,7 @@ class GameSourceService {
} }
if ($this->isRemoteFile($file)) { if ($this->isRemoteFile($file)) {
$urlInfo = parse_url($file); $urlInfo = parse_url($file);
$objectName = trim('/', $urlInfo['path']); $objectName = trim($urlInfo['path'], '/');
$this->deletePackage($objectName); $this->deletePackage($objectName);
} else { } else {
$olderPackage = ROOTTT . substr($file, 2); $olderPackage = ROOTTT . substr($file, 2);

Loading…
Cancel
Save