From c2c2de734e119126f782283e671b524f61c7c34c Mon Sep 17 00:00:00 2001 From: il2020 <77854832+il2020@users.noreply.github.com> Date: Sat, 3 Oct 2026 11:20:46 +0400 Subject: [PATCH 1/2] Update Helper.php --- app/Misc/Helper.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/app/Misc/Helper.php b/app/Misc/Helper.php index 013aa1aa..f3708b56 100644 --- a/app/Misc/Helper.php +++ b/app/Misc/Helper.php @@ -1015,9 +1015,20 @@ class Helper return true; } + /** + * symfony/filesystem package is not installed, + * so the logic of Symfony\Component\Filesystem\Filesystem::isAbsolutePath() is used here. + */ public static function isAbasolutePath($path) { - return (new \Symfony\Component\Filesystem\Filesystem())->isAbsolutePath($path); + $path = (string)$path; + + return strspn($path, '/\\', 0, 1) + || (strlen($path) > 3 && ctype_alpha($path[0]) + && ':' === $path[1] + && strspn($path, '/\\', 2, 1) + ) + || null !== parse_url($path, PHP_URL_SCHEME); } /** @@ -3361,4 +3372,4 @@ class Helper return config('filesystems.default') == 'local'; } } -} \ No newline at end of file +} From 917b4e0ce1e7336b65d155ff3a5623c3d90de3d0 Mon Sep 17 00:00:00 2001 From: FreeScout Date: Sat, 3 Oct 2026 03:19:50 -0700 Subject: [PATCH 2/2] v1.8.245 --- config/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/app.php b/config/app.php index 6a46a687..14a0754f 100644 --- a/config/app.php +++ b/config/app.php @@ -18,7 +18,7 @@ return [ | or any other location as required by the application or its packages. */ - 'version' => '1.8.244', + 'version' => '1.8.245', /* |--------------------------------------------------------------------------