refactor
- move elixForms API logic to specific folder - move everything else under Api folder
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
return [
|
||||
'external_api_base_url' => 'https://api.example.com',
|
||||
'elixforms_api_base_url' => 'https://api.example.com',
|
||||
'rate_limiter_driver' => 'file', // o 'memory'
|
||||
// configuration for file-based rate limiter
|
||||
'rate_limit_storage_dir' => sys_get_temp_dir() . '/api_rate_limit',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
return [
|
||||
'external_api_username' => 'myUser',
|
||||
'external_api_password' => 'myPass',
|
||||
'external_api_token' => 'mySecretToken',
|
||||
// elixforms API credentials
|
||||
'elixforms_api_username' => 'myUser',
|
||||
'elixforms_api_password' => 'myPass',
|
||||
'elixforms_api_token' => 'mySecretToken',
|
||||
'api_access_token' => 'myApiAccessToken',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user