(InvalidArgumentException(代码:0):磁盘 [public] 没有已配置的驱动程序 Voyager
(InvalidArgumentException(code: 0): Disk [public] does not have a configured driver Voyager
我在 centos 服务器上上传我的项目时遇到这个错误
(InvalidArgumentException(code: 0): Disk [public] does not have a configured driver
filesystem.php 中的一切都是正确的:
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'public' => [
'driver' => 'local',
'root' => public_path('storage'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
并在 voyager.php 中:
'storage' => [
'disk' => 'public',
],
我该怎么办?
我已经将相同的配置文件上传到服务器,几乎没有任何变化并且它有效...
我在 centos 服务器上上传我的项目时遇到这个错误
(InvalidArgumentException(code: 0): Disk [public] does not have a configured driver
filesystem.php 中的一切都是正确的:
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'public' => [
'driver' => 'local',
'root' => public_path('storage'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
并在 voyager.php 中:
'storage' => [
'disk' => 'public',
],
我该怎么办?
我已经将相同的配置文件上传到服务器,几乎没有任何变化并且它有效...