Update index.php
This commit is contained in:
parent
6cfcd35e78
commit
0c6d8b9529
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…
Reference in New Issue
Block a user