/Application.cfc Secret
Created
November 19, 2012 14:40
-
-
Save jamiejackson/541b783899b532cad7b3 to your computer and use it in GitHub Desktop.
Modified FB skeleton Application.cfc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component | |
{ | |
// create the mapping | |
this.mappings["/fuseboxMapping"] = expandPath('../fusebox5'); | |
/* dump mapping | |
* for me, this returns: | |
* /var/www/apps/army_lms_query_tool/server_deployment_root/fusebox5 | |
*/ | |
writeOutput("mapping: #this.mappings['/fuseboxMapping']#<br>"); | |
/* check for existence of fusebox's Application.cfc | |
* for me, this returns: | |
* YES | |
*/ | |
writeDump(var="file exists? #fileExists("#this.mappings["/fuseboxMapping"]#/Application.cfc")#"); | |
/* try to create fusebox object | |
* for me, this produces: | |
* Could not find the ColdFusion component or interface fuseboxMapping.Application. | |
*/ | |
createObject("component","fuseboxMapping.Application").bleed(variables); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment