Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed May 13, 2024
1 parent 0f7327c commit 85a993f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions objects/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ public static function getAvailablePlugins($comparePluginVersion = false)
}else{
_error_log("Plugin Not Found 1 hide: {$value}");
}
}else{
_error_log("Plugin Not loaded: {$value}");
}
continue;
}
Expand Down Expand Up @@ -276,6 +278,8 @@ public static function getAvailablePlugins($comparePluginVersion = false)
$obj->tags[] = "update";
}
$getAvailablePlugins[] = $obj;
}else{

}
}
}
Expand Down
9 changes: 8 additions & 1 deletion objects/pluginsAvailable.json.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,11 @@
$json = _json_encode($row);
}

echo '{ "current": 1,"rowCount": '.$total.', "total": '.$total.', "rows":'. $json.'}';
$array = array(
'current'=>1,
'rowCount'=>$total,
'total'=>$total,
'rows'=>$json,
);

echo _json_encode($array);

0 comments on commit 85a993f

Please sign in to comment.