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
#!/usr/bin/env php | |
<?php | |
// API Credentials | |
// You can either provide them as environment variables | |
// or hard-code them in the empty strings below. | |
$apiUrl = getenv('BS_URL') ?: ''; // http://bookstack.local/ | |
$clientId = getenv('BS_TOKEN_ID') ?: ''; | |
$clientSecret = getenv('BS_TOKEN_SECRET') ?: ''; |