#this.datasource#通常在哪里定义?
我在 ColdFusion 9 上有一个测试站点和一个实时站点。我正在尝试将“html”和“components”文件夹从测试站点推送到实时站点。由于某种原因,实时站点现在使用测试数据/内容。我假设这与数据源(#this.datasource# 或#Application.datasource#)相关。这通常在哪里定义?我希望我能找到这个,然后让数据源指向旧/实时内容而不是测试内容。
我只想移动新的代码并保留旧的数据......
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...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试查找名为 Application.cfc 的文件。这很可能位于应用程序的根目录中,但子文件夹中也可能包含 Application.cfc。
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.