lib/elFinderFlysystemGoogleDriveNetmount.php 1 location
|
@@ 174-178 (lines=5) @@
|
| 171 |
|
} |
| 172 |
|
} catch (Exception $e) { |
| 173 |
|
$this->session->remove('GoogleDriveAuthParams')->remove('GoogleDriveTokens'); |
| 174 |
|
if (empty($options['pass'])) { |
| 175 |
|
return ['exit' => true, 'body' => '{msg:'.elFinder::ERROR_ACCESS_DENIED.'}'.' '.$e->getMessage()]; |
| 176 |
|
} else { |
| 177 |
|
return ['exit' => true, 'error' => [elFinder::ERROR_ACCESS_DENIED, $e->getMessage()]]; |
| 178 |
|
} |
| 179 |
|
} |
| 180 |
|
|
| 181 |
|
if (! $aToken) { |
lib/elFinderVolumeDropbox2.class.php 1 location
|
@@ 260-264 (lines=5) @@
|
| 257 |
|
} |
| 258 |
|
} catch (DropboxClientException $e) { |
| 259 |
|
$this->session->remove('Dropbox2AuthParams')->remove('Dropbox2Tokens'); |
| 260 |
|
if (empty($options['pass'])) { |
| 261 |
|
return ['exit' => true, 'body' => '{msg:'.elFinder::ERROR_ACCESS_DENIED.'}'.' '.$e->getMessage()]; |
| 262 |
|
} else { |
| 263 |
|
return ['exit' => true, 'error' => [elFinder::ERROR_ACCESS_DENIED, $e->getMessage()]]; |
| 264 |
|
} |
| 265 |
|
} |
| 266 |
|
|
| 267 |
|
if (! $aToken) { |
lib/elFinderVolumeGoogleDrive.class.php 1 location
|
@@ 290-294 (lines=5) @@
|
| 287 |
|
} |
| 288 |
|
} catch (Exception $e) { |
| 289 |
|
$this->session->remove('GoogleDriveAuthParams')->remove('GoogleDriveTokens'); |
| 290 |
|
if (empty($options['pass'])) { |
| 291 |
|
return ['exit' => true, 'body' => '{msg:'.elFinder::ERROR_ACCESS_DENIED.'}'.' '.$e->getMessage()]; |
| 292 |
|
} else { |
| 293 |
|
return ['exit' => true, 'error' => [elFinder::ERROR_ACCESS_DENIED, $e->getMessage()]]; |
| 294 |
|
} |
| 295 |
|
} |
| 296 |
|
|
| 297 |
|
if (! $aToken) { |