index.php 1 location
|
@@ 26-30 (lines=5) @@
|
23 |
|
*/ |
24 |
|
$sharedSecret = ''; |
25 |
|
$baseUrl = ''; |
26 |
|
if (file_exists('payload.json')) { |
27 |
|
$payload = json_decode(file_get_contents('payload.json')); |
28 |
|
$sharedSecret = $payload->sharedSecret; |
29 |
|
$baseUrl = $payload->baseUrl; |
30 |
|
} |
31 |
|
|
32 |
|
/** |
33 |
|
* Here we create the middleware; |
playground.php 1 location
|
@@ 24-28 (lines=5) @@
|
21 |
|
*/ |
22 |
|
$sharedSecret = ''; |
23 |
|
$baseUrl = ''; |
24 |
|
if (file_exists('payload.json')) { |
25 |
|
$payload = json_decode(file_get_contents('payload.json')); |
26 |
|
$sharedSecret = $payload->sharedSecret; |
27 |
|
$baseUrl = $payload->baseUrl; |
28 |
|
} |
29 |
|
|
30 |
|
/** |
31 |
|
* Here we create the middleware; |