X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/621fc2f9638a1a92aa8535310e7852de5542f11e..HEAD:/auth.inc.php diff --git a/auth.inc.php b/auth.inc.php index b22ed5b..34c83db 100644 --- a/auth.inc.php +++ b/auth.inc.php @@ -14,7 +14,7 @@ class User throw new Exception("Gebruiker niet gevonden in $dir"); } $this->dir = $dir; - $this->login = basename($dir); + $this->login = preg_replace('{.*/}', '', $dir); } function __get($col)