Home > Backend Development > PHP Tutorial > 【ThinkPHP】已开启DB_FIELDS_ON,但是字段没有缓存!Runtime/Data目录是空的!

【ThinkPHP】已开启DB_FIELDS_ON,但是字段没有缓存!Runtime/Data目录是空的!

WBOY
Release: 2016-06-23 13:56:45
Original
1041 people have browsed it

版本:ThinkPHP 3.1.3
问题:已开启表字段缓存 DB_FIELDS_ON => TRUE,但是 Runtime/Data下是空的,每次M() 或者D() 还是在 SHOW COLUMNS  FROM... (default7#zbphp.com)


这个是如何解决。


回复讨论(解决方案)

汗,自己已经解决了。APP_DEBUG=FALSE。(by default7#zbphp.com)

看看手册,就知道啦

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template