25 lines
1.8 KiB
Diff
25 lines
1.8 KiB
Diff
--- a/src/backend/kopano/listfolders.php
|
|
+++ b/src/backend/kopano/listfolders.php
|
|
@@ -31,10 +31,10 @@
|
|
define('MAPI_SERVER', 'default:');
|
|
}
|
|
elseif (CheckMapiExtVersion('7.2.0')) {
|
|
- define('MAPI_SERVER', 'file:///var/run/zarafad/server.sock');
|
|
+ define('MAPI_SERVER', 'file://@TERMUX_PREFIX@/var/run/zarafad/server.sock');
|
|
}
|
|
else {
|
|
- define('MAPI_SERVER', 'file:///var/run/zarafa');
|
|
+ define('MAPI_SERVER', 'file://@TERMUX_PREFIX@/var/run/zarafa');
|
|
}
|
|
define('SSLCERT_FILE', null);
|
|
define('SSLCERT_PASS', null);
|
|
@@ -102,7 +102,7 @@
|
|
listfolders_getlist($zarafaAdmin['adminStore'], $zarafaAdmin['session'], trim($options['l']));
|
|
}
|
|
else {
|
|
- echo "Usage:\nlistfolders.php [actions] [options]\n\nActions: [-l username]\n\t-l username\tlist folders of user, for public folder use 'SYSTEM'\n\nGlobal options: [-h path] [[-u remoteuser] [-p password]] [[-c certificate_path] [-p password]]\n\t-h path\t\tconnect through <path>, e.g. file:///var/run/socket or https://10.0.0.1:237/kopano\n\t-u remoteuser\tlogin as authenticated administration user\n\t-c certificate\tlogin with a ssl certificate located in this location, e.g. /etc/zarafa/ssl/client.pem\n\t-p password\tpassword of the remoteuser or certificate\n\n";
|
|
+ echo "Usage:\nlistfolders.php [actions] [options]\n\nActions: [-l username]\n\t-l username\tlist folders of user, for public folder use 'SYSTEM'\n\nGlobal options: [-h path] [[-u remoteuser] [-p password]] [[-c certificate_path] [-p password]]\n\t-h path\t\tconnect through <path>, e.g. file://@TERMUX_PREFIX@/var/run/socket or https://10.0.0.1:237/kopano\n\t-u remoteuser\tlogin as authenticated administration user\n\t-c certificate\tlogin with a ssl certificate located in this location, e.g. @TERMUX_PREFIX@/etc/zarafa/ssl/client.pem\n\t-p password\tpassword of the remoteuser or certificate\n\n";
|
|
}
|
|
}
|
|
|