mirror of
https://github.com/pelican-dev/panel.git
synced 2025-09-08 22:18:46 +02:00
small cleanup
This commit is contained in:
parent
ed7fd702c9
commit
3fc4cdaf29
@ -57,7 +57,7 @@ if (!function_exists('join_paths')) {
|
||||
$paths = array_map(fn (string $path) => trim($path, '/'), $paths);
|
||||
$paths = array_filter($paths, fn (string $path) => strlen($path) > 0);
|
||||
|
||||
if (empty($base) || $base === '/') {
|
||||
if (empty($base)) {
|
||||
return implode('/', $paths);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user