Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-time-machine
8 changes: 4 additions & 4 deletions corefiles/PathUtil.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<cfargument name="callerPath" type="string" required="true"
hint="I am FUSEBOX_CALLER_PATH." />

<cfset variables.approotdirectory = getCanonicalPath(normalizePartialPath(arguments.callerPath) & normalizePartialPath(arguments.appPath)) />
<cfset variables.approotdirectory = getFBCanonicalPath(normalizePartialPath(arguments.callerPath) & normalizePartialPath(arguments.appPath)) />
<cfset calculatePaths(variables.approotdirectory) />
<cfreturn this />
</cffunction>
Expand Down Expand Up @@ -60,7 +60,7 @@

</cffunction>

<cffunction name="getCanonicalPath" returntype="string" access="public" output="false"
<cffunction name="getFBCanonicalPath" returntype="string" access="public" output="false"
hint="I return a canonical file path (with all /../ sections resolved).">
<cfargument name="path" type="string" required="true"
hint="I am the path to resolve." />
Expand Down Expand Up @@ -134,8 +134,8 @@
hint="I deduce the dot-separated path to a CFC given its file system path (and a few heuristics).">
<cfargument name="filename" type="string" required="true" />

<cfset var cfcPath = getCanonicalPath(filename) />
<cfset var webRoot = getCanonicalPath(expandPath("/")) />
<cfset var cfcPath = getFBCanonicalPath(filename) />
<cfset var webRoot = getFBCanonicalPath(expandPath("/")) />
<cfset var lenWebRoot = len(webRoot) />
<cfset var lenAppRoot = len(getApplicationRoot()) />
<cfset var lenCfcPath = len(cfcPath) />
Expand Down
4 changes: 2 additions & 2 deletions corefiles/fuseboxApplication.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1291,12 +1291,12 @@ limitations under the License.

</cffunction>

<cffunction name="getCanonicalPath" returntype="string" access="public" output="false"
<cffunction name="getFBCanonicalPath" returntype="string" access="public" output="false"
hint="I return a canonical file path (with all /../ sections resolved).">
<cfargument name="path" type="string" required="true"
hint="I am the path to resolve." />

<cfreturn pathUtil.getCanonicalPath(arguments.path) />
<cfreturn pathUtil.getFBCanonicalPath(arguments.path) />

</cffunction>

Expand Down
2 changes: 1 addition & 1 deletion corefiles/fuseboxCircuit.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ limitations under the License.
</cfif>
</cfif>

<cfset variables.fullPath = variables.fuseboxApplication.getCanonicalPath(variables.fullPath) />
<cfset variables.fullPath = variables.fuseboxApplication.getFBCanonicalPath(variables.fullPath) />

<!---
this was not correctly normalized prior to ticket 139 but it didn't really matter
Expand Down
2 changes: 1 addition & 1 deletion corefiles/fuseboxPlugin.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ limitations under the License.
this.path,arguments.fbApp.getApplicationRoot()) />
</cfif>

<cfset this.rootpath = arguments.fbApp.getCanonicalPath(this.rootpath) />
<cfset this.rootpath = arguments.fbApp.getFBCanonicalPath(this.rootpath) />

<cfset variables.parameters = arguments.pluginXML.xmlChildren />
<cfset variables.paramVerbs = structNew() />
Expand Down