0.8.0.2
This commit is contained in:
@@ -852,7 +852,7 @@ if ($db_file) {
|
||||
|
||||
foreach ($sorted_bundles as $row) {
|
||||
foreach ($row as $bundle) {
|
||||
echo "<div id='bundle'>";
|
||||
echo "<div id='bundle'>";
|
||||
$dbs = array_reverse(glob($bundle."/????-??-??_??-??-??.sqlite3"));
|
||||
if ($dbs[0]) {
|
||||
$dbo = new PDO("sqlite:".$dbs[0]);
|
||||
@@ -866,6 +866,7 @@ if ($db_file) {
|
||||
foreach ($dbs as $db_file) {
|
||||
$dbo = new PDO("sqlite:".$db_file);
|
||||
$info = $dbo->query("SELECT * FROM _skim")->fetch();
|
||||
$status = "";
|
||||
if (strpos($info['status'],"completed") === 0) {
|
||||
$seconds = str_replace("completed_in_","",$info['status']);
|
||||
$s = (int)$seconds;
|
||||
@@ -873,6 +874,7 @@ if ($db_file) {
|
||||
echo "<div>";
|
||||
} else {
|
||||
echo "<div class='aborted'>";
|
||||
$status = $info['status'];
|
||||
}
|
||||
echo "<a href='?db=".$db_file."'>".pathinfo($db_file)['filename']."</a> ";
|
||||
echo $info['version'].", ";
|
||||
|
||||
Reference in New Issue
Block a user