nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/server/php/R/r.php b/server/php/R/r.php
2--- a/server/php/R/r.php
3+++ b/server/php/R/r.php
4@@ -18,7 +18,7 @@ $r_debug = '';
5 $authUser = $client = $form = array();
6 $_server_protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') ? 'https' : 'http';
7 $_server_domain_url = $_server_protocol . '://' . $_SERVER['HTTP_HOST']; // http://localhost
8-header('x-response-url:' . $_SERVER[REQUEST_URI]);
9+header('x-response-url:' . $_SERVER['REQUEST_URI']);
10 header('Access-Control-Allow-Origin: *');
11 header('Access-Control-Allow-Methods: *');
12 require_once '../config.inc.php';