This commit is contained in:
Cyprian Beauvois 2019-02-20 13:01:22 +01:00
parent f045f18ecf
commit d154cab623
1 changed files with 9 additions and 4 deletions

View File

@ -45,10 +45,15 @@ class S3Storage
private function configIsNotNormed($config) private function configIsNotNormed($config)
{ {
// dump($config); die; return (
dump(array_merge($this->required_config_field, array_keys($config))); die; isset($config['type']) &&
return (false); isset($config['bucket']) &&
// return () isset($config['region']) &&
isset($config['endpoint']) &&
isset($config['credentials']) &&
isset($config['credentials']['key']) &&
isset($config['credentials']['secret'])
);
} }
protected function getPrefix($prefix = null) protected function getPrefix($prefix = null)