Open ghost opened 10 years ago
I have this dir structure:
| composer.json | classes/ | vendor/ | ------- autoload.php | ------- assets.json | www/ | ---- vendor/ | -------- balancer/ | ------------ package/ | htdocs | ---- assets/ (symlink to ../www/vendor)
I want use assets with paths in htdocs directory. Simpliest way is use absolute path to www like: <link src="/assets/balancer/package/file.css" ...
<link src="/assets/balancer/package/file.css" ...
But you manager generate html only with relative path like: <link src="../../www/vendor/balancer/package/file.css"
<link src="../../www/vendor/balancer/package/file.css"
Now I replace ../../www/vendor to /assets/, but it not cool.
../../www/vendor
/assets/
Can you make possibility to set absolute path of asset?
(Sorry for terrible English).
Hello Balancer, sorry for replying really late ...
You're right it's a problem, we need to add the possibilty to generate absolute web pahts. I can't figure out right now but it's a requirement for next versions.
I have this dir structure:
I want use assets with paths in htdocs directory. Simpliest way is use absolute path to www like:
<link src="/assets/balancer/package/file.css" ...
But you manager generate html only with relative path like:
<link src="../../www/vendor/balancer/package/file.css"
Now I replace
../../www/vendor
to/assets/
, but it not cool.Can you make possibility to set absolute path of asset?
(Sorry for terrible English).