How to referenece workspace url in extension
This is an open discussion with 2 replies, filed under Extensions.
Search
how do you reference workspace directory from within extension
It's hardcoded, there's no constant for this. URL . '/workspace'
.
Sorry having a silly moment, in frontend dev {$workspace}
is equivalent to {$root}/workspace
so I should have asked for $root
and I'll write /workspace on the end of that.
Of course I should be looking for how to write $root
in PHP.
Create an account or sign in to comment.
Hi probably really noob but how do you reference workspace directory from within extension PHP?
When I write
It seems to fetch the server folder path but I want the URL to display a graphic.