projects
/
dotclear.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Typo
[dotclear.git]
/
class.xorg.auth.php
diff --git
a/class.xorg.auth.php
b/class.xorg.auth.php
index
adba0c1
..
fd300d4
100644
(file)
--- 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;
}