From 9dde1138fb3e544fd2614b77833a76f7ed9f7f81 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sun, 28 Feb 2010 12:03:57 +0100
Subject: [PATCH] honor sneaky_index config in link manager FS#1907

---
 lib/exe/ajax.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/exe/ajax.php b/lib/exe/ajax.php
index 4618abd71..465bd1846 100644
--- a/lib/exe/ajax.php
+++ b/lib/exe/ajax.php
@@ -319,6 +319,7 @@ function ajax_linkwiz(){
       'listdirs'  => true,
       'pagesonly' => true,
       'firsthead' => true,
+      'sneakyacl' => $conf['sneaky_index'],
     );
     if($id) $opts['filematch'] = '^.*\/'.$id;
     if($id) $opts['dirmatch']  = '^.*\/'.$id;
-- 
GitLab