Browse Source

Update index.php

pull/5/head
Fred 2 years ago
committed by GitHub
parent
commit
0c6d8b9529
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      index.php

20
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

Loading…
Cancel
Save