m0rtimer
m0rtimer

Reputation: 2023

Where is #this.datasource# usually defined?

I have a test site and a live site on ColdFusion 9. I'm trying to push the 'html' and 'components' folders from the test site to the live site. For some reason the live site now feeds off of the test data/content. I'm assuming that this is related to the datasource (#this.datasource# or #Application.datasource#). Where is this usually defined? I'm hoping that I can find this and then get the datasource to point to the old/live content and not the test content.

I just want to move the new CODE and keep the old DATA...

Upvotes: 0

Views: 104

Answers (1)

Scott Stroz
Scott Stroz

Reputation: 7519

Try looking in a file named Application.cfc. This would most likely be in the root of the application, but sub-folders may also have Application.cfc in them.

Upvotes: 3

Related Questions