uawdijnntqw1x1x1
IP : 3.141.47.84
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
axolotl.ru
/
www
/
include
/
..
/
bitrix
/
modules
/
askaron.agents
/
include.php
/
/
<? ################################################### # askaron.agents module # Copyright (c) 2011-2021 Askaron Systems ltd. # http://askaron.ru # mailto:mail@askaron.ru ################################################### class CAskaronAgents { public static function OnPageStartHandler() { if ( COption::GetOptionString("main", "check_agents", "Y") !== "Y") { $path = "/bitrix/modules/main/tools/cron_events.php"; if ( self::CheckPath( $path ) ) { self::CheckAgents(); } } } private static function CheckPath($path) { global $APPLICATION; $result = false; $curPage = $APPLICATION->GetCurPage(true); $result = ($_SERVER["SCRIPT_FILENAME"] === $_SERVER["DOCUMENT_ROOT"].$path) || ( $curPage === $path ) || ( ( php_sapi_name() == 'cli' ) && ( mb_substr( $curPage, mb_strlen( $curPage ) - mb_strlen( $path ) ) == $path ) ); return $result; } private static function CheckAgents() { global $CACHE_MANAGER; //For a while agents will execute only on primary cluster group if((defined("NO_AGENT_CHECK") && NO_AGENT_CHECK===true) || (defined("BX_CLUSTER_GROUP") && BX_CLUSTER_GROUP !== 1)) return null; if(CACHED_b_agent !== false && $CACHE_MANAGER->Read(CACHED_b_agent, ($cache_id = "agents"), "agents")) { $saved_time = $CACHE_MANAGER->Get($cache_id); if(time() < $saved_time) return ""; } return CAgent::ExecuteAgents(""); } } ?>
/var/www/axolotl/data/www/axolotl.ru/www/include/../bitrix/modules/askaron.agents/include.php