Skip to content

Commit

Permalink
require 'OFFICE365_TENANT', 'OFFICE365_PATH', 'OFFICE365_SITE' to be set
Browse files Browse the repository at this point in the history
  • Loading branch information
Vítězslav Dvořák committed Dec 12, 2024
1 parent a7d49a8 commit 7684214
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pohodaSQL-raiffeisenbank-statements-sharepoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
$options = getopt('o::e::', ['output::environment::']);
Shared::init(
[
'OFFICE365_TENANT', 'OFFICE365_PATH', 'OFFICE365_SITE',
'POHODA_URL', 'POHODA_USERNAME', 'POHODA_PASSWORD', 'POHODA_ICO',
'CERT_FILE', 'CERT_PASS', 'XIBMCLIENTID', 'ACCOUNT_NUMBER',
'DB_CONNECTION', 'DB_HOST', 'DB_PORT', 'DB_DATABASE', 'DB_USERNAME', 'DB_PASSWORD',
Expand Down
2 changes: 1 addition & 1 deletion src/raiffeisenbank-statements-sharepoint-checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
$options = getopt('o::e::', ['output::environment::']);
Shared::init(
[
'OFFICE365_TENANT', 'OFFICE365_PATH', 'OFFICE365_SITE',
'CERT_FILE', 'CERT_PASS', 'XIBMCLIENTID', 'ACCOUNT_NUMBER',
'DB_CONNECTION', 'DB_HOST', 'DB_PORT', 'DB_DATABASE', 'DB_USERNAME', 'DB_PASSWORD',
],
\array_key_exists('environment', $options) ? $options['environment'] : '../.env',
);
Expand Down

0 comments on commit 7684214

Please sign in to comment.