MyGit

1.1.4

burzum/cakephp-file-storage

版本发布时间: 2016-01-21 07:59:48

burzum/cakephp-file-storage最新发布版本:3.0.0-beta(2020-01-08 22:53:13)

Exceptions to the rescue!

There is now an exception throw if a listener can't work with a specific adapter. Also I've introduced a new BaseListener that doesn't have any restrictions on which adapter it will take. In theory you can use it with any storage backend as long as the path it builds for the files is compatible with your chosen storage backend.

The reason for this change is that you'll end up with the "Why the fuck is it not storing my file?" because there is no hard break when the described scenario happens. The exception with it's informative message should make this now pretty clear.

For details please review this commit https://github.com/burzum/cakephp-file-storage/commit/9bece866838923725d966e97637f11d001476179

A new shell command...

...has been introduced to store a file via command line.

bin/cake storage store <some-file-to-store-here>
File successfully saved!
UUID: ebb21e79-029d-441d-8f2e-d8c20ca8f5a9
Path: file_storage/18/ef/b4/ebb21e79029d441d8f2ed8c20ca8f5a9/<some-file-to-store-here>

Documentation update

The Quick Start tutorial has been updated as well.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2016-01-21发行的版本