forked from Studio-42/elFinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VD] add a new volume driver FlysystemGoogleDriveNetmount
Usage ----- ``` composer require barryvdh/elfinder-flysystem-driver composer require nao-pon/flysystem-google-drive:~1.1 google/apiclient:~2.0@rc ``` ```php // Load composer autoloader require 'vender/autoload.php'; // Enable Google Drive as Netmount driver include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinderFlysystemGoogleDriveNetmount.php'; define('ELFINDER_GOOGLEDRIVE_CLIENTID', 'YOUR CLIENT ID'); define('ELFINDER_GOOGLEDRIVE_CLIENTSECRET', 'YOUR CLIENT SECRET'); ``` Add "YOUR_CONNECTOR_URL(connector.php)?cmd=netmount&protocol=googledrive&host=1" to "Authorized redirect URIs" in "Credentials" on Google API Manager.
- Loading branch information
Showing
7 changed files
with
371 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.