Thinkphp5 runtime路径设置data

路径设置 index.php

// runtime文件路径
define('RUNTIME_PATH', __DIR__ . '/data/runtime/');
原文地址:https://www.cnblogs.com/wesky/p/7474728.html