276ec7f3eb
This change replaces the use of $_SERVER['SERVER_NAME'] with $_SERVER['HTTP_HOST'] throughout the codebase. The modification ensures consistency and compliance with best practices, since $_SERVER['HTTP_HOST'] is often used to extract the host header from an HTTP request. This update may improve compatibility and security, especially in scenarios where the Host header plays a key role in proper server configuration and routing. Please review and test the changes carefully to ensure smooth functionality in different environments.
20 lines
851 B
PHP
20 lines
851 B
PHP
<?php
|
||
if (!DEFINED('EGP'))
|
||
exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/404'));
|
||
|
||
$aBoost = array(
|
||
'cs' => array(
|
||
'boost' => array(),
|
||
|
||
'mon' => array(
|
||
'site' => '', // адрес сайта раскрутки
|
||
'api' => '', // адрес API сайта раскрутки
|
||
'key' => '', // секретный ключ для API
|
||
'services' => array(), // array(номер услуги) - выборка (номер услуги либо кол-во кругов)
|
||
'circles' => array(), // array(номер услуги => кол-во кругов) - выборка
|
||
'price' => array(), // array(номер услуги => цена)
|
||
'type' => 'def' // тип работы с API сайта раскрутки
|
||
)
|
||
)
|
||
);
|
||
?>
|