Commit 16bb732a authored by profix898's avatar profix898

- task: add request details to reports

parent 8905b6d0
......@@ -29,6 +29,12 @@ function _gallery_report($download = FALSE, $report = array(), $cache = FALSE) {
}
db_set_active('default');
//Request
$report['Request']['URI'] = request_uri();
$report['Request']['Query'] = isset($_GET['q']) ? $_GET['q'] : '';
$report['Request']['G2Path'] = isset($_GET['g2_path']) ? $_GET['g2_path'] : '';
$report['Request']['Referer'] = referer_uri();
//Drupal
$report['Drupal']['Version'] = VERSION;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment