Skip to content

Commit e11ce59

Browse files
committed
ncp-web: fix log download bug
Signed-off-by: nachoparker <nacho@ownyourbits.com>
1 parent 3f57513 commit e11ce59

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2-
[v1.42.0](https://github.com/nextcloud/nextcloudpi/commit/f80d335) (2021-10-21) ncp-web: add Russion translations
2+
[v1.42.1](https://github.com/nextcloud/nextcloudpi/commit/945716f) (2021-10-22) ncp-web: fix log download bug
3+
4+
[v1.42.0 ](https://github.com/nextcloud/nextcloudpi/commit/3f57513) (2021-10-21) ncp-web: add Russion translations
35

46
[v1.41.12](https://github.com/nextcloud/nextcloudpi/commit/36c1f46) (2021-10-20) letsencrypt: disable also ncp web certs if OFF
57

ncp-web/download_logs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
$file = '/var/log/ncp.log';
2020

21-
if (!file_exists($file)
21+
if (!file_exists($file))
2222
die('File not found');
2323

2424
if (!is_readable($file))

ncp-web/ncp-launcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
{
184184
echo '{ "token": "' . getCSRFToken() . '",'; // Get new token
185185
echo '"token_dl": "' . getCSRFToken() . '",'; // Get new download token
186-
echo ' "ret": "' . $ret . '" }';
186+
echo ' "ret": "0" }';
187187
}
188188

189189
//

0 commit comments

Comments
 (0)