Home >Backend Development >PHP Tutorial >thinkphp3.2开发排错一例??当APP的值变化后,需要删除缓存~runtime.php文件

thinkphp3.2开发排错一例??当APP的值变化后,需要删除缓存~runtime.php文件

WBOY
WBOYOriginal
2016-06-23 13:57:521035browse

经过是这样的:

在根目录下建立了一个文件夹weixin,之前通过www.domain.com/weixin访问,后来想改成二级域名weixin.domain.com访问,但通过U方法生成的路径中仍含有weixin/,通过输出__APP__的值发现也带weixin/,删除缓存~runtime.php文件后解决问题

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn