Commit cf84d74d authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '46-anonymisierung-von-useragent-und-ip-adresse-einbauen' into 'master'

Anonymisierung eingebaut

Closes #46

See merge request !47
parents 48cb9e9c 914e0b63
......@@ -7,6 +7,11 @@
* @author Taylor Otwell <taylorotwell@gmail.com>
*/
# Unser erster Schritt wird sein, IP-Adresse und USER-Agent zu anonymisieren, damit
# nicht einmal wir selbst noch Zugriff auf die Daten haben:
$_SERVER['REMOTE_ADDR'] = substr($_SERVER['REMOTE_ADDR'], 0, strrpos($_SERVER['REMOTE_ADDR'], ".")) . ".0";
$_SERVER['HTTP_USER_AGENT'] = substr($_SERVER['HTTP_USER_AGENT'], 0, 23);
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment