<?php
if(!empty($_SERVER['HTTP_X_FORWARDED_PROTO'])){
    $ROOT = $_SERVER['HTTP_X_FORWARDED_PROTO'].'://dev.watashiwa.ru/bf2stats.git/';
	$DOMAIN = $_SERVER['HTTP_X_FORWARDED_PROTO'].'://dev.watashiwa.ru';
}
else{
    $ROOT = !empty($_SERVER['HTTPS']) ? "https://" : "http://";
	$DOMAIN = !empty($_SERVER['HTTPS']) ? "https://" : "http://";
}

$GAMESERVER = '10.62.242.11'; // Для монитора
$GAMEPORT = '29900'; // Для монитора