including a file on on-rev

Sarah Reichelt sarah.reichelt at gmail.com
Tue Nov 3 22:23:44 EST 2009


> The defaultfolder is always the folder that the requested script is (unless
> you change it yourself). So what I do is on top of my scripts, I include a
> specific include file that changes the defaultfolder to some root place like
> /public_html/ and then all the other includes are in reference to that,
> makes easier to maintain.


That is a very neat idea. Then all file references can be made
relative to the root folder which would save a lot of trouble.
Thanks Andre.

Cheers,
Sarah



More information about the use-livecode mailing list