projects
/
squirrelmail.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
eb6bd740c2641e2e67239671be107827859be3dd
[squirrelmail.git]
/
plugins
/
administrator
/
auth.php
1
<
?php
2
3
function
adm_check_user
() {
4
5
GLOBAL
$username
;
6
7
$auth
=
FALSE
;
8
if
(
$adm_id
=
fileowner
(
'../config/config.php'
) ) {
9
$adm
=
posix_getpwuid
(
$adm_id
);
10
if
(
$username
==
$adm
[
'name'
] ) {
11
$auth
=
TRUE
;
12
}
13
}
14
15
return
(
$auth
);
16
17
}
18
19
?
>