Hello everyone -
I've noticed an undocumented (that I can find) change between 2.4.1 and 2.4.3. The code to find the Request.FCKEditor struct is in 2.4.1, but not in 2.4.3. The Wiki install documentation still includes a step that says to set request.FCKEditor.userFilesPath in your application.cfm. This doesn't do much good when the connector doesn't look for it unless it's in the application or server scopes. My question is.... what is the reasoning? Was this breaking something somewhere else? If not, I will just add the lines I need. I checked through the buglists and whatsnew pages, and couldn't find anything that specifically mentioned this. I apologize if this has been previously covered.
(I want to use request. to keep user upload paths separate between users)
Thanks all!
I'll paste the code snips here:
2.4.1:
<!--- look for config struct in request, application and server scopes --->
<cfif isDefined("request.FCKeditor") and isStruct(request.FCKeditor)>
<cfset variables.FCKeditor = request.FCKeditor>
<cfelseif isDefined("application.FCKeditor") and isStruct(application.FCKeditor)>
<cflock scope="application" type="readonly" timeout="5">
<cfset variables.FCKeditor = duplicate(application.FCKeditor)>
</cflock>
<cfelseif isDefined("server.FCKeditor") and isStruct(server.FCKeditor)>
<cflock scope="server" type="readonly" timeout="5">
<cfset variables.FCKeditor = duplicate(server.FCKeditor)>
</cflock>
</cfif>
------------------------------------------------
2.4.3:
<!--- look for config struct in application and server scopes --->
<cfif isDefined("application.FCKeditor") and isStruct(application.FCKeditor)>
<cflock scope="application" type="readonly" timeout="5">
<cfset variables.FCKeditor = duplicate(application.FCKeditor)>
</cflock>
<cfelseif isDefined("server.FCKeditor") and isStruct(server.FCKeditor)>
<cflock scope="server" type="readonly" timeout="5">
<cfset variables.FCKeditor = duplicate(server.FCKeditor)>
</cflock>
</cfif>
I've noticed an undocumented (that I can find) change between 2.4.1 and 2.4.3. The code to find the Request.FCKEditor struct is in 2.4.1, but not in 2.4.3. The Wiki install documentation still includes a step that says to set request.FCKEditor.userFilesPath in your application.cfm. This doesn't do much good when the connector doesn't look for it unless it's in the application or server scopes. My question is.... what is the reasoning? Was this breaking something somewhere else? If not, I will just add the lines I need. I checked through the buglists and whatsnew pages, and couldn't find anything that specifically mentioned this. I apologize if this has been previously covered.
(I want to use request. to keep user upload paths separate between users)
Thanks all!
I'll paste the code snips here:
2.4.1:
<!--- look for config struct in request, application and server scopes --->
<cfif isDefined("request.FCKeditor") and isStruct(request.FCKeditor)>
<cfset variables.FCKeditor = request.FCKeditor>
<cfelseif isDefined("application.FCKeditor") and isStruct(application.FCKeditor)>
<cflock scope="application" type="readonly" timeout="5">
<cfset variables.FCKeditor = duplicate(application.FCKeditor)>
</cflock>
<cfelseif isDefined("server.FCKeditor") and isStruct(server.FCKeditor)>
<cflock scope="server" type="readonly" timeout="5">
<cfset variables.FCKeditor = duplicate(server.FCKeditor)>
</cflock>
</cfif>
------------------------------------------------
2.4.3:
<!--- look for config struct in application and server scopes --->
<cfif isDefined("application.FCKeditor") and isStruct(application.FCKeditor)>
<cflock scope="application" type="readonly" timeout="5">
<cfset variables.FCKeditor = duplicate(application.FCKeditor)>
</cflock>
<cfelseif isDefined("server.FCKeditor") and isStruct(server.FCKeditor)>
<cflock scope="server" type="readonly" timeout="5">
<cfset variables.FCKeditor = duplicate(server.FCKeditor)>
</cflock>
</cfif>