Skip to content

Commit

Permalink
ncp-web: fix log download bug
Browse files Browse the repository at this point in the history
Signed-off-by: nachoparker <[email protected]>
  • Loading branch information
nachoparker committed Oct 22, 2021
1 parent 3f57513 commit e11ce59
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

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

[v1.42.0 ](https://github.com/nextcloud/nextcloudpi/commit/3f57513) (2021-10-21) ncp-web: add Russion translations

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

Expand Down
2 changes: 1 addition & 1 deletion ncp-web/download_logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

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

if (!file_exists($file)
if (!file_exists($file))
die('File not found');

if (!is_readable($file))
Expand Down
2 changes: 1 addition & 1 deletion ncp-web/ncp-launcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
{
echo '{ "token": "' . getCSRFToken() . '",'; // Get new token
echo '"token_dl": "' . getCSRFToken() . '",'; // Get new download token
echo ' "ret": "' . $ret . '" }';
echo ' "ret": "0" }';
}

//
Expand Down

0 comments on commit e11ce59

Please sign in to comment.