XFdestek
Kurucu Üye
I have a few files I want to reference within my add-on from a view that aren't meant to be directly public to a customer. Is there an easy way to reference them relatively so I don't have to worry about the server path changing?
I.e. if I have /server/folders/that/are/a/mess/src/addons/my/addon/privatefolder/privatefile.xyz; what's the best way to reference the /src/addons/my/addon/privatefolder/privatefile.xyz from my /my/addon/Pub/View/customview.php file.
My current approach is to use...
I.e. if I have /server/folders/that/are/a/mess/src/addons/my/addon/privatefolder/privatefile.xyz; what's the best way to reference the /src/addons/my/addon/privatefolder/privatefile.xyz from my /my/addon/Pub/View/customview.php file.
My current approach is to use...