diff options
| author | 2017-03-04 11:55:47 +0100 | |
|---|---|---|
| committer | 2017-03-04 11:55:47 +0100 | |
| commit | 6bbe89e9bc5ae5adf3d163923faa03c9207bd9e2 (patch) | |
| tree | f14e842fbc320d3f3c1331dae62eb7e24aaf2517 /lib/lib_rss.php | |
| parent | 29b4fbcf0abff1cff13b53d6b01e79e14de4c7f9 (diff) | |
| parent | 2818c72f5ae00276a083d0c24454394e9d064c7c (diff) | |
Merge pull request #1447 from Alkarex/CLI-bugs
Fix CLI bugs
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index aaeeb431f..4298e90bf 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -299,13 +299,11 @@ function listUsers() { scandir($base_path), array('..', '.', '_') )); - foreach ($dir_list as $file) { - if (is_dir(join_path($base_path, $file))) { + if ($file[0] !== '.' && is_dir(join_path($base_path, $file)) && file_exists(join_path($base_path, $file, 'config.php'))) { $final_list[] = $file; } } - return $final_list; } |
