Browse Source

added debug to lookup

pull/24/head
Teknikode 5 years ago
parent
commit
31ffecacdf
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      includes/lookup.php

+ 7
- 0
includes/lookup.php View File

@@ -36,6 +36,8 @@ THE SOFTWARE.
/*
you should server side cache this response, especially if your site is active
*/
try
{
$data = isset($_GET['data'])?$_GET['data']:'';
if (!empty($data)) {
$data = explode("|", $data);
@@ -59,6 +61,11 @@ THE SOFTWARE.
}
echo 'var COINWIDGETCOM_DATA = '.json_encode($responses).';';
}
}
catch (Exception $e)
{
echo 'Caught Exception: ', $e->getMessage();
}

function get_bitcoin($address) {
$return = array();

Loading…
Cancel
Save