diff options
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index c7698b5c5..a27ef171a 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -188,3 +188,7 @@ function usernameFromPath($userPath) { function listUsers() { return array_map('usernameFromPath', glob(DATA_PATH . '/*_user.php')); } + +function httpAuthUser() { + return isset($_SERVER['REMOTE_USER']) ? $_SERVER['REMOTE_USER'] : ''; +} |
