[Laravel] root 外のファイルにアクセスしたら laravel Path is outside of the defined root と怒られたのでどうにかしたい
![Laravel Logo](https://i0.wp.com/techfree.jp/wp/wp-content/uploads/laravel-l-slant.png?resize=150%2C150&ssl=1)
結論
config/filesystems.php に、自前で設定を追加すればOK。
詳細Laravel のデフォルト設定だと、
'local' => ,となっておりまして、 プロジェクトルート/storage/app が起点になってました。
例えば、/storage/temp にある全ファイルを取得したい、という場合に、
$tempfiles ...