关于配置thinkphp缓存目录的问题

WBOY
Release: 2016-06-20 12:25:47
Original
1976 people have browsed it

具体情况:想要将后台增删改查,更新缓存,将缓存存到前台的temp目录。 基于thinkphp 3.23

因为用了2个入口文件,index.php  admin.php  分别对应前台和后台,主要是要将后台分离般到另一个域名下去使用。  有两个应用目录 Admin Home,想将Admin下生存的数据缓存直接存放到 Home/Runtime/Temp下。
尝试修改了

'DATA_CACHE_PATH'       => '__ROOT__/Home/Runtime/Temp',
Copy after login

无效。
望大神赐教


回复讨论(解决方案)

大神在哪啊,出来一下

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