mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:Box,OneDrive] fix #2122 to be able to know the access token in debug mode
This commit is contained in:
@@ -734,6 +734,21 @@ class elFinderVolumeBox extends elFinderVolumeDriver
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return debug info for client.
|
||||
*
|
||||
* @return array
|
||||
**/
|
||||
public function debug()
|
||||
{
|
||||
$res = parent::debug();
|
||||
if (! empty($this->options['accessToken'])) {
|
||||
$res['accessToken'] = $this->options['accessToken'];
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/*********************************************************************/
|
||||
/* INIT AND CONFIGURE */
|
||||
/*********************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user