[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication
This commit is contained in:
21
data/web/inc/lib/vendor/nesbot/carbon/bin/carbon
vendored
Executable file
21
data/web/inc/lib/vendor/nesbot/carbon/bin/carbon
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
$dir = __DIR__.'/..';
|
||||
|
||||
if (!file_exists($dir.'/autoload.php')) {
|
||||
$dir = __DIR__.'/../vendor';
|
||||
}
|
||||
|
||||
if (!file_exists($dir.'/autoload.php')) {
|
||||
$dir = __DIR__.'/../../..';
|
||||
}
|
||||
|
||||
if (!file_exists($dir.'/autoload.php')) {
|
||||
echo 'Autoload not found.';
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require $dir.'/autoload.php';
|
||||
|
||||
exit((new \Carbon\Cli\Invoker())(...$argv) ? 0 : 1);
|
4
data/web/inc/lib/vendor/nesbot/carbon/bin/carbon.bat
vendored
Normal file
4
data/web/inc/lib/vendor/nesbot/carbon/bin/carbon.bat
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
@ECHO OFF
|
||||
setlocal DISABLEDELAYEDEXPANSION
|
||||
SET BIN_TARGET=%~dp0/carbon
|
||||
php "%BIN_TARGET%" %*
|
Reference in New Issue
Block a user