From: Florent Bruneau Date: Sun, 1 Jun 2008 21:49:26 +0000 (+0200) Subject: Typo X-Git-Url: http://git.polytechnique.org/?p=dotclear.git;a=commitdiff_plain;h=a216c10ae41421ac7bb915173fb66850759d7699 Typo Signed-off-by: Florent Bruneau --- diff --git a/class.xorg.auth.php b/class.xorg.auth.php index adba0c1..fd300d4 100644 --- a/class.xorg.auth.php +++ b/class.xorg.auth.php @@ -212,7 +212,7 @@ class xorgAuth extends dcAuth { public function userID() { $this->buildFromSession(); - $isadmin = preg_match('@/admin/[^/]\.php$@i', $_SERVER['SCRIPT_FILENAME']); + $isadmin = preg_match('@/admin/[^/]+\.php$@i', $_SERVER['SCRIPT_FILENAME']); if (!$isadmin) { return null; }