Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Component [site1.Application] has no accessible Member with name [WEBROOT]
<cfcomponent>
<cfset this.name = Hash( GetCurrentTemplatePath() )>
<cfset this.webroot = GetDirectoryFromPath(GetCurrentTemplatePath())>
</cfcomponent>
<cfcomponent extends ="RootProxy">
<cfset this.webroot = this.webroot & "/site1">
</cfcomponent>
<cfinclude template = "../Application.cfc">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment