2
私はholiday/app/Console/Commands/myCommand.php
にあるPHPファイルを持っている:Laravelアプリケーションで特定のファイルを見つける方法は?
namespace Holiday\Console\Commands;
$bob = file_get_contents('Storage/data/BE.json');
をし、それが動作します。
namespace Holiday\Http\Controllers;
$bob = file_get_contents('Storage/data/BE.json');
が、私はこれはなぜ誰もが知ってい
file_get_contents(Holiday/Storage/data/BE.json): failed to open stream:
No such file or directory
を得る:
しかしholiday/app/Http/Controllers/holidayController.php
で私が持っていますか?