mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 11:48:08 +08:00
improve consistency in publish/file.php
This commit is contained in:
parent
fa3d1b00ca
commit
e535f47015
@ -19,17 +19,15 @@ return [
|
||||
],
|
||||
'ftp' => [
|
||||
'driver' => \Hyperf\Filesystem\Adapter\FtpAdapterFactory::class,
|
||||
'host' => 'ftp.example.com',
|
||||
'username' => 'username',
|
||||
'password' => 'password',
|
||||
|
||||
/* optional config settings */
|
||||
'port' => 21,
|
||||
'root' => '/path/to/root',
|
||||
'passive' => true,
|
||||
'ssl' => true,
|
||||
'timeout' => 30,
|
||||
'ignorePassiveAddress' => false,
|
||||
'host' => env('FTP_HOST'),
|
||||
'username' => env('FTP_USERNAME'),
|
||||
'password' => env('FTP_PASSWORD'),
|
||||
// 'port' => 21,
|
||||
// 'root' => '/path/to/root',
|
||||
// 'passive' => true,
|
||||
// 'ssl' => true,
|
||||
// 'timeout' => 30,
|
||||
// 'ignorePassiveAddress' => false,
|
||||
],
|
||||
'memory' => [
|
||||
'driver' => \Hyperf\Filesystem\Adapter\MemoryAdapterFactory::class,
|
||||
|
Loading…
Reference in New Issue
Block a user