Ticket #260 (closed defect: worksforme)
ModelGlue_CONFIG_PATH not working in Unity
| Reported by: | nando | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.0 Beta 2 |
| Version: | 2.0.304 | Severity: | normal |
| Keywords: | Cc: |
Description
I apparently was using an "old" template for index.cfm:
<!---
If your path to ColdSpring?.xml is custom, change it here. Otherwise, it will default to Config/ColdSpring.xml
<cfset ModelGlue?_CONFIG_PATH = expandPath(".") & "/config/ColdSpring.xml" />
--->
I was trying to move the coldspring.xml off the webroot by setting this variable in index.cfm. ModelGlue? couldn't find it using ModelGlue?_CONFIG_PATH.
Cracked open ModelGlue?.cfm to see what was going on. It says in there
<!--- This only exists to support legacy applications. --->
<cfparam name="ModelGlue?_CONFIG_PATH" type="string" default="" />
Well, this doesn't seem to work.
Replaced ModelGlue?_CONFIG_PATH with ModelGlue?_LOCAL_COLDSPRING_PATH and it worked for me.
Nando d.nando@…
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)