Add ext-shmop, fix path slashes

This commit is contained in:
crazywhalecc
2026-03-13 17:02:35 +08:00
parent 6ed620683f
commit 271013f2d6
3 changed files with 6 additions and 1 deletions

View File

@@ -481,7 +481,7 @@ class FileSystem
public static function fullpath(string $path, string $relative_path_base): string
{
if (FileSystem::isRelativePath($path)) {
$path = $relative_path_base . DIRECTORY_SEPARATOR . $path;
$path = rtrim($relative_path_base, '/') . DIRECTORY_SEPARATOR . $path;
}
if (!file_exists($path)) {
throw new FileSystemException("Path does not exist: {$path}");