This content has been marked as final. Show 5 replies
I would give each user site it's own application.cfm file that is created when the folder is created. I would then set an application variable that I could use to pull that particular sites info from a database to populate the pages with.
Also I would store all the template files in one location and not copy them over to each individual site. That way if there is a template change you can make it in one spot and not have to update the same file in all site directories.
Hope that helps.
Thanks for the idea. I think that would be best to create a custom
application.cfm per account.
Hmmm. Now just have to figure out how to create a custom Application.cfm
<cfset aName="Wally World">
<cffile action="write" file="c://websites/#aName#/application.cfm"
If you're on Linux make sure you create it as "Application.cfm", not "application.cfm"