Created
December 11, 2017 21:27
-
-
Save bardware/5a34c49b74c7bbba4d8adae80fbc84fa to your computer and use it in GitHub Desktop.
Component [site1.Application] has no accessible Member with name [WEBROOT]
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
<cfcomponent> | |
<cfset this.name = Hash( GetCurrentTemplatePath() )> | |
<cfset this.webroot = GetDirectoryFromPath(GetCurrentTemplatePath())> | |
</cfcomponent> |
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
<cfcomponent extends ="RootProxy"> | |
<cfset this.webroot = this.webroot & "/site1"> | |
</cfcomponent> |
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
index.cfm |
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
<cfinclude template = "../Application.cfc"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment