seancorfield / org-corfield-cfmx

Automatically exported from code.google.com/p/org-corfield-cfmx
0 stars 0 forks source link

Pass "current directory" to script code #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. PHP include() fails because it is executed in ColdFusion's install
directory instead of "current" page directory.

What is the expected output? What do you see instead?

Need to be able to tell PHP what the current directory is so it can use an
absolute include() path. Probably applies to Ruby too. Could have the
custom tag default to getDirectoryFromPath(getBaseTemplatePath()) and allow
it to be overridden. Should create a suitable global variable for each
language.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by seancorf...@gmail.com on 3 Jun 2007 at 10:10