diff --git a/features/remote-files.xml b/features/remote-files.xml index cd6ac9100e..b1be14555b 100644 --- a/features/remote-files.xml +++ b/features/remote-files.xml @@ -1,5 +1,5 @@ - + Using remote files @@ -73,7 +73,7 @@ if (!$file) { exit; } /* Write the data here. */ -fputs ($file, "$HTTP_USER_AGENT\n"); +fputs ($file, $HTTP_SERVER_VARS['HTTP_USER_AGENT'] . "\n"); fclose ($file); ?> ]]>