@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | $jars = array(); |
| 253 | 253 | $autoload_path = $this->config['autoload_path']; |
| 254 | 254 | $files = glob("$autoload_path/*.jar"); |
| 255 | - foreach($files as $file) { |
|
| 255 | + foreach ($files as $file) { |
|
| 256 | 256 | $jars[] = $file; |
| 257 | 257 | } |
| 258 | 258 | $jars[] = $this->config['server_jar']; |
@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | return false; |
| 321 | 321 | } |
| 322 | 322 | $result = shell_exec(sprintf("ps %d", $pid)); |
| 323 | - if( count(preg_split("/\n/", $result)) > 2){ |
|
| 323 | + if (count(preg_split("/\n/", $result)) > 2) { |
|
| 324 | 324 | return true; |
| 325 | 325 | } |
| 326 | 326 | return false; |