mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -45,7 +45,7 @@ function printMultigraph($ini_array, $machine_name, $title, $info, $max) {
|
|||
p("graph_category games");
|
||||
p("graph_info $info");
|
||||
p("graph_printf %6.0lf");
|
||||
|
||||
|
||||
if (isset($ini_array['settings'][$machine_name . '_colour']))
|
||||
p("players.colour " . $ini_array['settings'][$machine_name . '_colour']);
|
||||
|
||||
|
@ -106,8 +106,8 @@ if (isset($_SERVER['argv'][1])) {
|
|||
// Query the game servers
|
||||
$results = queryServers($ini_array);
|
||||
// Cache the query in the state file
|
||||
$fp = fopen($state, 'w+') or die("I could not open state file.");
|
||||
fwrite($fp, serialize($results));
|
||||
$fp = fopen($state, 'w+') or die("I could not open state file.");
|
||||
fwrite($fp, serialize($results));
|
||||
fclose($fp);
|
||||
|
||||
|
||||
|
@ -175,7 +175,7 @@ $ini_array = parse_ini_file($config, true);
|
|||
// Load games.ini so we can show pretty game names
|
||||
$games = parse_ini_file('gameq/GameQ/games.ini', true);
|
||||
|
||||
$results = unserialize(file_get_contents($state));
|
||||
$results = unserialize(file_get_contents($state));
|
||||
|
||||
// Print individual game values
|
||||
foreach ($results as $name => $server){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue