prise en compte proxy
This commit is contained in:
parent
d02a57f155
commit
0900c8c532
|
@ -7,7 +7,18 @@ etab=$(CreoleGet libelle_etab)
|
|||
eole_module=$(CreoleGet eole_module)
|
||||
eole_release=$(CreoleGet eole_release)
|
||||
|
||||
serveurstat="https://ldapbundle.ac-arno.fr/ninestat/api"
|
||||
serveurstat="https://envole.ac-dijon.fr/ninestat/api"
|
||||
|
||||
# Proxy
|
||||
activer_proxy_client=$(CreoleGet activer_proxy_client non)
|
||||
if [[ "${activer_proxy_client}" == "oui" ]]
|
||||
then
|
||||
proxy_client_adresse=$(CreoleGet proxy_client_adresse)
|
||||
proxy_client_port=$(CreoleGet proxy_client_port)
|
||||
|
||||
export HTTP_PROXY="${proxy_client_adresse}:${proxy_client_port}"
|
||||
export HTTPS_PROXY="${proxy_client_adresse}:${proxy_client_port}"
|
||||
fi
|
||||
|
||||
rawurlencode() {
|
||||
local string="${1}"
|
||||
|
|
Loading…
Reference in New Issue