From 2cbe6ea4649f0f22c83b09ee6a8a455a2447b0f0 Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Mon, 13 Apr 2015 19:45:41 +1000 Subject: [PATCH] Try to remember which language I'm coding in... --- callback.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/callback.php b/callback.php index 2f3871e43..62a3d85dc 100644 --- a/callback.php +++ b/callback.php @@ -19,10 +19,10 @@ function set_proxy($post) $tmp = rtrim($_ENV['https_proxy'], "/"); $proxystr = str_replace(array("http://", "https://"), "", $tmp); $config['callback_proxy'] = $proxystr; - printf("Setting proxy to %s (from https_proxy=%s)\n", $proxystr, $_ENV['https_proxy']); + echo "Setting proxy to ".$proxystr." (from https_proxy=".$_ENV['https_proxy'].")\n"; } if (isset($config['callback_proxy'])) { - printf("Using %s as proxy\n", $config['callback_proxy']); + echo "Using ".$config['callback_proxy']." as proxy\n"; curl_setopt($post, CURLOPT_PROXY, $config['callback_proxy']); } }