My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 5: Pass "current directory" to script code
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  seancorfield
Type-Enhancement
Priority-High
Usability


Sign in to add a comment
 
Reported by seancorfield, Jun 03, 2007
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.


Sign in to add a comment

Hosted by Google Code