Commit eb70a00a authored by remy's avatar remy
Browse files

adding empty file borgbackup issue

parent 51ec1126
......@@ -11,7 +11,7 @@ if(!JSONREADER2_STANDALONE) {
}
require_once JSR_PATH.'/dao/DBquery.php';
require_once JSR_PATH.'/dao/ReaderTableDBQuery.php';
require_once '../dao/ReaderTableDBQuery.php';
require_once "../model/ReaderTable.php";
if(!JSONREADER2_STANDALONE) {
require_once JSR_PATH.'/dao/LogDBQuery.php';
......@@ -98,4 +98,4 @@ if($action == "create") {
}
}
header("Location: ".JSR_PATH."/services/jsonreaderTable.php");
\ No newline at end of file
header("Location: ../services/jsonreaderTable.php");
\ No newline at end of file
......@@ -109,6 +109,9 @@ function parseBorgStatusJson($name, $val, $reader) {
if($second_td_displayed == $reader->BORG_BACKUP_NOT_FOUND) {
$second_td_displayed = '<span class="label" style="background-color: '.$reader->COLOR_BORG_BACKUP_NOT_FOUND.'" >'.$second_td_displayed.'</span>';
$first_td_displayed = '<span class="label" style="background-color: '.$reader->COLOR_BORG_BACKUP_NOT_FOUND.'" >'.$first_td_displayed.'</span>';
} elseif($second_td_displayed == $reader->BORG_BACKUP_FILE_EMPTY) {
$second_td_displayed = '<span class="label" style="background-color: '.$reader->COLOR_BORG_BACKUP_FILE_EMPTY.'" >'.$second_td_displayed.'</span>';
$first_td_displayed = '<span class="label" style="background-color: '.$reader->COLOR_BORG_BACKUP_FILE_EMPTY.'" >'.$first_td_displayed.'</span>';
}
} else {
foreach($subsubval as $keytype => $details) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment