Skip to content

Commit

Permalink
ADD getConfigForCommunity
Browse files Browse the repository at this point in the history
  • Loading branch information
tomitomas committed Jun 18, 2024
1 parent 8360eac commit 9af67cd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/tomitomasEqLogicTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,17 @@ public static function executeAsync(string $_method, $_option = null, $_date = '
}
}

public static function getConfigForCommunity() {

$infoPlugin = '<b>Version OS</b> : ' . system::getDistrib() . ' ' . system::getOsVersion() . '<br/>';

$infoPlugin .= '<b>Version PHP</b> : ' . phpversion();

$infoPlugin = '<br/>```<br/>' . str_replace(array('<b>', '</b>', '&nbsp;'), array('', '', ' '), $infoPlugin) . '<br/>```<br/>';

return $infoPlugin;
}

/**
******************** LOGS FUNCTIONS
*/
Expand Down

0 comments on commit 9af67cd

Please sign in to comment.