Commit 7bed4b4b authored by George's avatar George
Browse files

Issue #3272795: Error config variable key_name StreamWrapper.

parent 87f545d5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -109,8 +109,8 @@ class AzBlobFsStreamWrapper {
    $this->loadConfig();

    // Check for key config data. If empty, let's halt.
    if (empty($this->config['az_blob_account_name']) || empty($this->config['az_blob_account_key'])) {
      throw new AzBlobFsException('Azure Blob account name or key is not set.');
    if (empty($this->config['az_blob_account_name']) || empty($this->config['az_blob_account_key_name'])) {
      throw new AzBlobFsException('Azure Blob Storage account name or key is not set.');
    }

    $this->container = $this->config['az_blob_container_name'];