-
Notifications
You must be signed in to change notification settings - Fork 7
Description
[[++assets_path]]
/home/bh24674/www.domain.ru/assets/
[[!FileDownload? &getDir="assets/doc" &directLink="1" &toArray="1" ]]
`Array
(
[file] => Array
(
[0] => Array
(
[ctx] => web
[fullPath] => /home/bh24674/www.domain.ru/assets/doc/приказ на директора.jpg
[path] => /home/bh24674/www.domain.ru/assets/doc
[filename] => приказ на директора.jpg
[alias] =>
[type] => file
[ext] => jpg
[size] => 1147711
[sizeText] => 1,1 MB
[unixdate] => 1480280588
[date] => 2016-11-28
[image] => /assets/components/filedownloadr/img/filetypes/image.png
[count] => 0
[link] => http://domain.ru/ets/doc/приказ на директора.jpg
[url] => http://domain.ru/ets/doc/приказ на директора.jpg
[hash] => LGIuZQAzMwZjMJDmAmN0MQZ4ZwAzLzAzZmMxAmMwLmL1LGDlL2ZlaAGOxLmIzZwOvZwHjMQL2LJAuLmZmZTZ1BGp0AmHmL2IwBQMyLzZkLmR5ATMyBTD1ZwEvMzIuAQZ3AGquLmpjAzEzLGtjMQOwZzHmMzIuAGN4AmRlBQAwBGL=
[description] =>
)
)
)`
param [link] and [url] incorrect Unlike [[++assets_path]]
but
if you specify the outside "assets" that the path is correct.