-
Hi, {{ img('assets/agency.png' }} When the route is http://localhost/invo/ is ok.(http://localhost/invo/assets/agency.png) index.php : (i've changed becouse not working ) $_SERVER['REQUEST_URI']
I think is similar to question "brand new application, controller not found?" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I believe the sample application invo is configured to put a set of downloaded files in the document root.
changed to
is required, otherwise the top page cannot be opened. Other reasons for thinking that it is assumed to be placed directly in the document root are:
I think you have to write it via url().
)
It is defined like this and used as follows.
It is recommended to stop using it in subdirectories and put it in the document root. |
Beta Was this translation helpful? Give feedback.
I believe the sample application invo is configured to put a set of downloaded files in the document root.
So, if you extract it to a directory placed in the document root like you did, various inconsistencies will occur.
for example,
this line
changed to
is required, otherwise the top page cannot be opened.
Other reasons for thinking that it is assumed to be placed directly in the document root are:
in the template,
The link to this top page is
I think you have to write it via url().
(For example,
)