Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 2078 → Rev 2079

/trunk/services/bibliotheque/GestionUtilisateur.php
317,4 → 317,19
}
return $etreAdmin;
}
}
 
/**
* Compatibilité avec nginx - merci http://php.net/manual/fr/function.getallheaders.php
*/
if (! function_exists('apache_request_headers')) {
function apache_request_headers() {
$headers = '';
foreach ($_SERVER as $name => $value) {
if (substr($name, 0, 5) == 'HTTP_') {
$headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value;
}
}
return $headers;
}
}