Файловый менеджер - Редактировать - /home/clickysoft/public_html/travel-guru.clickysoft.net/travel-guru/config/zoho.php
Назад
<?php // config for Asciisd/Zoho return [ /* |-------------------------------------------------------------------------- | Client ID |-------------------------------------------------------------------------- | | Zoho's Client id for OAuth process | */ 'client_id' => env('ZOHO_CLIENT_ID', null), /* |-------------------------------------------------------------------------- | Accounts url |-------------------------------------------------------------------------- | | Zoho's Accounts url for OAuth process | */ 'accounts_url' => env('ZOHO_ACCOUNTS_URL', "https://accounts.zoho.com"), /* |-------------------------------------------------------------------------- | Api's Url |-------------------------------------------------------------------------- | | Zoho's Apis url | */ 'api_base_url' => env('ZOHO_API_BASE_URL', "www.zohoapis.com"), /* |-------------------------------------------------------------------------- | Client Secret |-------------------------------------------------------------------------- | | Zoho's Client secret for OAuth process | */ 'client_secret' => env('ZOHO_CLIENT_SECRET', null), /* |-------------------------------------------------------------------------- | Self Signed Token |-------------------------------------------------------------------------- | | Zoho's token for OAuth process | Depending on $auth_flow_type (see below) this could be a grantToken, refreshToken or accessToken | */ 'token' => env('ZOHO_TOKEN', null), /* |-------------------------------------------------------------------------- | Authentication Flow Type |-------------------------------------------------------------------------- | | Which authentication flow to use | Zoho SDK Supports grantToken, refreshToken and accessToken | */ 'auth_flow_type' => env('ZOHO_AUTH_FLOW_TYPE', 'grantToken'), /* |-------------------------------------------------------------------------- | REDIRECT URI |-------------------------------------------------------------------------- | | this is were we should handle the OAuth tokens after registering your | Zoho client | */ 'redirect_uri' => env('ZOHO_REDIRECT_URI', null), /* |-------------------------------------------------------------------------- | CURRENT USER EMAIL |-------------------------------------------------------------------------- | | Zoho's email address that will be used to interact with API | */ 'current_user_email' => env('ZOHO_CURRENT_USER_EMAIL', null), /* |-------------------------------------------------------------------------- | LOG FILE PATH |-------------------------------------------------------------------------- | | The SDK stores the log information in a file. you can change the path but | just make sure to create an empty file with name `ZCRMClientLibrary.log` | then point to the folder contains it in config file here | | note: In case the path is not specified, the log file will be created | inside the project. | */ 'application_log_file_path' => storage_path('app/zoho/oauth/logs/ZCRMClientLibrary.log'), /* |-------------------------------------------------------------------------- | Token Persistence Path |-------------------------------------------------------------------------- | | path of your tokens text file, this path is predefined and used by default, | and you are free to change this path, but just make sure that you generate | file with name `zcrm_oauthtokens.txt` then point to the folder that containing | the file here | */ 'token_persistence_path' => storage_path('app/zoho/oauth/tokens/zcrm_oauthtokens.txt'), /* |-------------------------------------------------------------------------- | Resource Path |-------------------------------------------------------------------------- | | The path containing the absolute directory path to store user specific files | containing module fields information. | */ 'resourcePath' => storage_path('app/zoho'), /* |-------------------------------------------------------------------------- | ZOHO Environment |-------------------------------------------------------------------------- | | which is of the pattern Datacenter::Environment | Available Environments: PRODUCTION, DEVELOPER, SANDBOX, but we only used PRODUCTION & SANDBOX | by setting environment as true Zoho will use SANDBOX and false will use PRODUCTION | Available Domains: USDataCenter, EUDataCenter, INDataCenter, CNDataCenter, AUDataCenter | */ 'environment' => env('ZOHO_SANDBOX', false), 'datacenter' => env('ZOHO_DATACENTER', 'USDataCenter'), /* |-------------------------------------------------------------------------- | Zoho Path |-------------------------------------------------------------------------- | | This is the base URI path where Zoho's views, such as the callback | verification screen, will be available from. You're free to tweak | this path according to your preferences and application design. | */ 'path' => env('ZOHO_PATH', 'zoho'), /* |-------------------------------------------------------------------------- | Zoho Path |-------------------------------------------------------------------------- | | This is the base URI path where Zoho's views, such as the callback | verification screen, will be available from. You're free to tweak | this path according to your preferences and application design. | */ 'oauth_scope' => env('ZOHO_OAUTH_SCOPE', 'aaaserver.profile.READ,ZohoCRM.modules.ALL,ZohoCRM.settings.ALL'), /* |-------------------------------------------------------------------------- | Auto Refresh Fields (default value is false) |-------------------------------------------------------------------------- | | true - all the modules' fields will be auto-refreshed in the background, every hour. | false - the fields will not be auto-refreshed in the background. The user can manually delete the file(s) or refresh the fields using methods from ModuleFieldsHandler(com\zoho\crm\api\util\ModuleFieldsHandler) | */ 'autoRefreshFields' => false, /* |-------------------------------------------------------------------------- | Pick List Validation (default value is true) |-------------------------------------------------------------------------- | | A boolean field that validates user input for a pick list field and allows or disallows the addition of a new value to the list. | true - the SDK validates the input. If the value does not exist in the pick list, the SDK throws an error. | false - the SDK does not validate the input and makes the API request with the user’s input to the pick list | */ 'pickListValidation' => false, /* |-------------------------------------------------------------------------- | Enable SSL Verification (default value is true) |-------------------------------------------------------------------------- | | A boolean field to enable or disable curl certificate verification | true - the SDK verifies the authenticity of certificate | false - the SDK skips the verification | */ 'enableSSLVerification' => true, /* |-------------------------------------------------------------------------- | Connection Timeout |-------------------------------------------------------------------------- | | The number of seconds to wait while trying to connect. Use 0 to wait indefinitely. | */ 'connectionTimeout' => 3, /* |-------------------------------------------------------------------------- | Timeout |-------------------------------------------------------------------------- | | The maximum number of seconds to allow cURL functions to execute. | */ 'timeout' => 10, ];
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка