-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
30 lines (27 loc) · 722 Bytes
/
Copy pathconfig.php
File metadata and controls
30 lines (27 loc) · 722 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
<?php
/**
* Apps dashboard page
* https://go.tradegecko.com/oauth/applications
*
* Docs
* http://developer.tradegecko.com/
**/
if (in_array($_SERVER['HTTP_HOST'], array('localhost'))) {
define('REDIRECT_URI', 'http://localhost/example/tradegecko/');
} else {
define('REDIRECT_URI', 'https://www.example.com/tradegecko/');
}
define('TG_API_URL', 'https://api.tradegecko.com/');
define('TG_CLIENT_ID', 'CLIENT_ID');
define('TG_SECRET', 'SECRET');
define('TG_PRIVILIGED_CODE', 'API_TOKEN');
// For GLS
$GLOBALS['sender'] = array(
'name' => 'NAME',
'street' => 'STREET',
'city' => 'CITY',
'zip' => 'ZIP',
'country' => 'SK',
'phone' => 'PHONE',
'ref_number' => 'GLS_REF_NUMBER',
);