1
0
Fork 0

Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel

This commit is contained in:
Michael Hackstein 2014-01-28 14:34:47 +01:00
commit ffa1ff9eed
1 changed files with 9 additions and 2 deletions

View File

@ -181,10 +181,17 @@
}
try {
var found = aal.firstExample({ type: "mount", mount: "/_admin/" + appName });
var mount;
if (appName === 'aardvark') {
mount = '/_admin/' + appName;
}
else {
mount = '/system/' + appName;
}
var found = aal.firstExample({ type: "mount", mount: mount });
if (found === null) {
fm.mount(appName, "/_admin/" + appName, {reload: false});
fm.mount(appName, mount, {reload: false});
}
}
catch (err) {