在laravel框架中獲取storage目錄的路徑

發呆的大貓猴紙發表於2019-03-22

可以這樣

storage_path('debug.log');
複製程式碼

也可以放到storage/logs中

storage_path('/logs/debug.log');複製程式碼

相關文章