What I rather see is the location of the script that has been executed.
Because if I want to include a XMLfile, I would like to use ../'s instead of the absoluteURI
config.xmlmy system wrote: Current Folderlayout
jsx (folder)
-thescript.jsx
php (folder)
-somescript.php
so my problem is with php I can include the xml using include("../config.xml"),
but if I want to include something in jsx I have to use file.open("/c/full/path/to/config.xml")
I know how to generate a jsx file with php so the fullpath is hard-coded in there, but I rather not.
Is there a way to resolve the location of the script based on the location of the script instead of the program running it?