-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.php
More file actions
executable file
·34 lines (23 loc) · 921 Bytes
/
config.example.php
File metadata and controls
executable file
·34 lines (23 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
class Config
{
static public $api_id = '';
static public $api_secret = '';
static public $http_request_base = 'http://www.example.com/page/api/';
static public $http_request_options = array(
'timeout' => 10,
'readTimeout' => array(10, 0),
'allowRedirects' => true,
'maxRedirects' => 3,
);
static public $deferred_result_call_interval = 30;
static public $deferred_result_call_max_attempts = 20;
static public $output_format = self::OUTPUT_40CHARHEX;
const HTTP_CODE_OK = 200;
const HTTP_CODE_DEFERRED_RESULT = 202;
const HTTP_CODE_DEFERRED_RESULT_COMPILING = 503;
const OUTPUT_40CHARHEX = 1;
const OUTPUT_BASE64 = 2;
const API_VER = 1;
}
?>