复制 joomla 文件夹 - 数据是共享的吗?
我安装了joomla! 1.5 在我网站根目录的子文件夹中。几个月后,我决定将 joomla 站点放在根文件夹中,因此我将子文件夹中的所有内容复制到根文件夹中。这有效,但我注意到一些奇怪的事情 - 网站数据以某种方式在两个副本之间共享。例如,访客柜台。当我单击根 joomla 副本中的几篇文章时,我可以看到访问者计数器已增加。然后,当我进入 joomla 的子文件夹原始安装时,我看到计数器显示与 joomla 根文件夹副本相同的值。我的问题是: 1. 这是怎么回事,我可以禁用这两个文件夹之间的连接吗? 2. 假设我选择继续使用根文件夹中的 joomla 副本而不断开与子文件夹安装的连接,我是否会遇到问题,或者仅使用根文件夹副本是否安全?
非常感谢!
I installed joomla! 1.5 in a subfolder of my website root. Months later I decided to put the joomla site in the root folder, so I copied everything from the subfolder to the root folder. This worked, but I noticed something strange - the webite data is somehow shared between the two copies. For example, the visitors counter. When I click a few articles in my root joomla copy, I can see that the visitors counter has incremented. When I then enter my subfolder original installation of joomla, I see the counter showing the same value of the root folder copy of joomla. My questions are:
1. How is this happening, can I disable this connection between the two folders?
2. Suppose I choose to continue using the copy of joomla in the root folder without disconnecting the connection with the subfolder installation, am I going to encounter problems, or is it safe to just use the root folder copy?
Thank you very much!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
两个副本都使用相同的数据库。一旦添加了对数据库进行更改的任何扩展,您就会开始遇到问题。不需要旧文件,只需删除它们即可。
Both copies are using the same database. You'll start running in to issues once you have added any extensions that make changes to the database. There is no need for the old files, just delete them.