mirror of
https://github.com/YGGverse/next.git
synced 2026-03-31 17:55:34 +00:00
urlencode fs navigation links
This commit is contained in:
parent
21193214d1
commit
aa27bcc9b7
2 changed files with 35 additions and 14 deletions
|
|
@ -135,8 +135,11 @@ class Filesystem
|
|||
$directories[] =
|
||||
[
|
||||
'file' => false,
|
||||
'name' => $name,
|
||||
'path' => $path,
|
||||
'name' => $name,
|
||||
'link' => urlencode(
|
||||
$name
|
||||
),
|
||||
'time' => filemtime(
|
||||
$path
|
||||
)
|
||||
|
|
@ -149,8 +152,11 @@ class Filesystem
|
|||
$files[] =
|
||||
[
|
||||
'file' => true,
|
||||
'name' => $name,
|
||||
'path' => $path,
|
||||
'name' => $name,
|
||||
'link' => urlencode(
|
||||
$name
|
||||
),
|
||||
'time' => filemtime(
|
||||
$path
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue