afosto / yaac

Yet another ACME client: a decoupled LetsEncrypt client
Other
219 stars 85 forks source link

Example doesn't work for local using flysystem 3 #56

Open turbo124 opened 1 year ago

turbo124 commented 1 year ago

With flysystem 3 Local no longer exists, the new syntax is

// The internal adapter
$adapter = new League\Flysystem\Local\LocalFilesystemAdapter(
    // Determine root directory
    __DIR__.'/root/directory/'
);

// The FilesystemOperator
$filesystem = new League\Flysystem\Filesystem($adapter);