Skip to content

wrong url /assets/  #58

@tvset

Description

@tvset

[[++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.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39632874-wrong-url-assets?utm_campaign=plugin&utm_content=tracker%2F1480317&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1480317&utm_medium=issues&utm_source=github).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions