鍍金池/ 問答/PHP/ thinkphp S()方法

thinkphp S()方法

請問一下thinkphp 中的 S() 方法保存的鍵值對數(shù)據(jù)在runtime的哪個具體位置

回答
編輯回答
懷中人

$options = [

// 緩存類型為File
'type'  =>  'File', 
// 緩存有效期為永久有效
'expire'=>  0, 
//緩存前綴
'prefix'=>  'think',
 // 指定緩存目錄
'path'  =>  APP_PATH.'runtime/cache/',

];
看下配置

2018年9月22日 03:46