【发布时间】:2016-11-17 04:11:26
【问题描述】:
当我有一个变量时:
$storagePath = ('/xampp/htdocs/systeembeheer/public/download');
$files = File::allFiles($storagePath);
return View::make('documentatie.overzicht') ->with('files', $files);
在我看来,文件显示为:
/xampp/htdocs/systeembeheer/public/download/test.txt,但我只想看到test.txt。
【问题讨论】: