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

WBOY
Release: 2016-06-13 11:57:40
Original
1249 people have browsed it

【ThinkPHP】已开启DB_FIELDS_ON,但是字段没有缓存!Runtime/Data目录是空的!
版本:ThinkPHP 3.1.3
问题:已开启表字段缓存 DB_FIELDS_ON => TRUE,但是 Runtime/Data下是空的,每次M() 或者D() 还是在 SHOW COLUMNS  FROM... (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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!