diff options
author | Michael Hamann <michael@content-space.de> | 2013-12-02 00:12:49 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2013-12-02 00:15:38 +0100 |
commit | 0b4e20cc13eaadaee104a8815403ac749e3a49fa (patch) | |
tree | d2be7129d22af0bb11043b1ada12086bf1f62446 | |
parent | 11540fc12046d12078bd8a41bb5e1a72d53d515d (diff) | |
download | rpg-0b4e20cc13eaadaee104a8815403ac749e3a49fa.tar.gz rpg-0b4e20cc13eaadaee104a8815403ac749e3a49fa.tar.bz2 |
Fix RSS namespace listings containing hidden pages
-rw-r--r-- | feed.php | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -476,8 +476,12 @@ function rssListNamespace($opt) { $ns = str_replace(':', '/', $ns); $data = array(); - sort($data); - search($data, $conf['datadir'], 'search_list', '', $ns); + $search_opts = array( + 'depth' => 1, + 'pagesonly' => true, + 'listfiles' => true + ); + search($data, $conf['datadir'], 'search_universal', $search_opts, $ns); return $data; } |