[On-Rev] traversing file path in on-rev
Devin Asay
devinasay at gmail.com
Wed Jun 3 15:57:19 EDT 2009
I want to be able to use common libraries for all subdomains in my
domain. Right now all of my subdomains point to folders within my
public html root directory.
/
includes/
mylib.irev
mysubdomain/
index.irev
index.irev
I want to access mylib.irev from mysubdomain/index.irev. I would
think I should be able to do
include "../includes/mylib.irev"
But that doesn't work, and produces an error message saying
FTP error: File "/mysubdomain/../includes/mylib.irev" not present on
server. Cannot download.
Shouldn't this work? Or is the bug in my brain? (Wouldn't be the first
time.)
Devin
More information about the use-livecode
mailing list