I have two sites running using Virtual Hosts. They are, for the most
part, functionally identical and share most libraries and form
processors. As a result, I would like to share many of these files.

Lets say that on a login form for the sites, I have a form action of
"/bin/login.a4p". The directory structure pointing to the bin folder
on each site is as follows:

DB Folder->A4D_Sites->SiteA->bin->login.a4p
DB Folder->A4D_Sites->SiteB->bin->login.a4p

I was thinking I could do something like this when calling SiteB's
login.a4p, but am getting a "Attempt to access a forbidden directory"
error.
     //Same as other site's Processor, so include that.
     include("../../../SiteA/bin/"+current file)

Is there another way to accomplish this? Should I be able to use an
include in this way, or am I misreading the docs?

Thanks,

Darin
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to