X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/72084f120c1e5a2270c0854540153c35819d0b35..0be29a130e7eba18671353565336cbe63296b723:/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)