Load the rootDSE in Server::__construct(), remove basedn from views, and rely on the javascript to get the basedns

This commit is contained in:
2025-06-11 23:08:24 +09:30
parent d61f6168a4
commit 56fcd729e7
8 changed files with 32 additions and 72 deletions

2
public/js/custom.js vendored
View File

@@ -59,7 +59,7 @@ $(document).ready(function() {
if (typeof basedn !== 'undefined') {
sources = basedn;
} else {
sources = { url: 'ajax/bases' };
sources = { url: '/ajax/bases' };
}
// Attach the fancytree widget to an existing <div id="tree"> element