同一目录中的CakePHP的多个实例 [英] Multiple Instances of CakePHP in same directory

查看:74
本文介绍了同一目录中的CakePHP的多个实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将CakePHP站点复制到几个不同的目录中,并且能够使每个目录都正常工作,但是最近一次,该站点显示了正确的视图,但显示了原始站点中的模型和控制器。

I have copied a CakePHP site into several different directories and was able to get each of them working, but this latest time the site displays the correct Views, but the Models and Controllers from the original site.

似乎没有任何明显的设置指向原始站点。有什么想法可以解决这个问题吗?

There don't seem to be any obvious setting that points to the original site. Any ideas where I might look to fix this issue?

推荐答案

检查 .htaccess (如果可以)不存在,然后建立一个。

Check .htaccess, if it does none exist then build one.

这篇关于同一目录中的CakePHP的多个实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆