|
@@ 107-113 (lines=7) @@
|
| 104 |
|
$noAuth = true; |
| 105 |
|
} |
| 106 |
|
|
| 107 |
|
if ($input->getOption('user')) { |
| 108 |
|
$mount->setBackendOption('user', $input->getOption('user')); |
| 109 |
|
} else if (isset($_ENV['NOTIFY_USER'])) { |
| 110 |
|
$mount->setBackendOption('user', $_ENV['NOTIFY_USER']); |
| 111 |
|
} else if (isset($_SERVER['NOTIFY_USER'])) { |
| 112 |
|
$mount->setBackendOption('user', $_SERVER['NOTIFY_USER']); |
| 113 |
|
} |
| 114 |
|
if ($input->getOption('password')) { |
| 115 |
|
$mount->setBackendOption('password', $input->getOption('password')); |
| 116 |
|
} else if (isset($_ENV['NOTIFY_PASSWORD'])) { |
|
@@ 114-120 (lines=7) @@
|
| 111 |
|
} else if (isset($_SERVER['NOTIFY_USER'])) { |
| 112 |
|
$mount->setBackendOption('user', $_SERVER['NOTIFY_USER']); |
| 113 |
|
} |
| 114 |
|
if ($input->getOption('password')) { |
| 115 |
|
$mount->setBackendOption('password', $input->getOption('password')); |
| 116 |
|
} else if (isset($_ENV['NOTIFY_PASSWORD'])) { |
| 117 |
|
$mount->setBackendOption('password', $_ENV['NOTIFY_PASSWORD']); |
| 118 |
|
} else if (isset($_SERVER['NOTIFY_PASSWORD'])) { |
| 119 |
|
$mount->setBackendOption('password', $_SERVER['NOTIFY_PASSWORD']); |
| 120 |
|
} |
| 121 |
|
|
| 122 |
|
try { |
| 123 |
|
$storage = $this->createStorage($mount); |