Hello dudes,
I would like to ask you something.
I've made a game for a person who wants to upload it on its server and make an online score database etc.
The person told me that their current php framework does not allow relative paths, only absolute paths and thus requires him to include all the asses with absolute paths.
He wants me to make a global variable that will store the absolute path. This global variable will concatenate with the original files emplacement.
(i added an image)
[attachment=0:2arydd4r][/attachment:2arydd4r]
--> the second hyperlink is the stored variable.
This seems very strange to me. Plus i don't think you can use global variables created in construct externally and If i create one directly in code i am wondering if it will work.
So is there a better way to do this rather than adding a global variable to all includes/src. (this will go crazy with JSON format)
Many Thanks!