From 0c6d8b952935be4e9eb9ba2d88db065d6edcbc4c Mon Sep 17 00:00:00 2001 From: Fred <23246457+fredtempez@users.noreply.github.com> Date: Fri, 3 May 2019 22:42:30 +0200 Subject: [PATCH] Update index.php --- index.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/index.php b/index.php index 883ea33a..17332495 100755 --- a/index.php +++ b/index.php @@ -24,26 +24,6 @@ date_default_timezone_set('Europe/Paris'); setlocale (LC_TIME, 'fra_fra', 'french'); -/*Configuration Proxy */ -$proxy = 'cache-etu.univ-artois.fr:3128'; -if (!empty($proxy)) { - $proxy = str_replace('http://', 'tcp://', $proxy); - $context = array( - 'http' => array( - 'proxy' => $proxy, - 'request_fulluri' => true, - 'verify_peer' => false, - 'verify_peer_name' => false, - ), - "ssl"=>array( - "verify_peer"=>false, - "verify_peer_name"=>false - ) - ); - stream_context_set_default($context); -} else { - echo "Proxy not found" . PHP_EOL; -} /** * Initialisation de Zwii