lib/elFinderVolumeBox.class.php 1 location
|
@@ 504-506 (lines=3) @@
|
| 501 |
|
$this->options['accessToken'] = json_encode($token); |
| 502 |
|
$this->token = $token; |
| 503 |
|
|
| 504 |
|
if (! empty($this->options['netkey'])) { |
| 505 |
|
elFinder::$instance->updateNetVolumeOption($this->options['netkey'], 'accessToken', $this->options['accessToken']); |
| 506 |
|
} |
| 507 |
|
} |
| 508 |
|
|
| 509 |
|
return true; |
lib/elFinderVolumeGoogleDrive.class.php 1 location
|
@@ 911-913 (lines=3) @@
|
| 908 |
|
} else { |
| 909 |
|
$access_token['refresh_token'] = $this->options['access_token']['refresh_token']; |
| 910 |
|
} |
| 911 |
|
if (! empty($this->options['netkey'])) { |
| 912 |
|
elFinder::$instance->updateNetVolumeOption($this->options['netkey'], 'access_token', $access_token); |
| 913 |
|
} |
| 914 |
|
$this->options['access_token'] = $access_token; |
| 915 |
|
} |
| 916 |
|
} else { |
lib/elFinderVolumeOneDrive.class.php 1 location
|
@@ 526-528 (lines=3) @@
|
| 523 |
|
$this->options['accessToken'] = json_encode($token); |
| 524 |
|
$this->token = $token; |
| 525 |
|
|
| 526 |
|
if (! empty($this->options['netkey'])) { |
| 527 |
|
elFinder::$instance->updateNetVolumeOption($this->options['netkey'], 'accessToken', $this->options['accessToken']); |
| 528 |
|
} |
| 529 |
|
} |
| 530 |
|
|
| 531 |
|
return true; |