termux-packages/packages/z-push/src-config.php.patch

21 lines
737 B
Diff
Raw Normal View History

2022-04-04 11:09:19 +02:00
--- a/src/config.php
+++ b/src/config.php
@@ -68,7 +68,7 @@
* State migration script is available, more informations: https://wiki.z-hub.io/x/xIAa
*/
define('STATE_MACHINE', 'FILE');
- define('STATE_DIR', '/var/lib/z-push/');
+ define('STATE_DIR', '@TERMUX_PREFIX@/var/lib/z-push/');
/**********************************************************************************
* IPC - InterProcessCommunication
@@ -123,7 +123,7 @@
$specialLogUsers = array();
// Filelog settings
- define('LOGFILEDIR', '/var/log/z-push/');
+ define('LOGFILEDIR', '@TERMUX_PREFIX@/var/log/z-push/');
define('LOGFILE', LOGFILEDIR . 'z-push.log');
define('LOGERRORFILE', LOGFILEDIR . 'z-push-error.log');