Skip to content

Commit

Permalink
List pluginable version
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveorevo committed Aug 29, 2024
1 parent 753923c commit db61f66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pluginable.php
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,10 @@ function str_starts_with($haystack, $needle) {
}
}

// Inject HestiaCP-Pluginable version
$version = trim( $hcpp->run( 'invoke-plugin hcpp_get_plugin_version "/etc/hestiacp/hooks"' ) );
$version = trim( $version );
$insert .= '<div class="u-mb10"><small style="float:right;">HestiaCP-Pluginable (' . $version . ')</small></div>';
$content = $before . $insert . $after;
$args['content'] = $content;
return $args;
Expand Down

0 comments on commit db61f66

Please sign in to comment.