uawdijnntqw1x1x1
IP : 18.188.103.42
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
/
yar.axolotls.ru
/
bitrix
/
modules
/
salescenter
/
lib
/
integration
/
base.php
/
/
<?php namespace Bitrix\SalesCenter\Integration; use Bitrix\Main\Loader; use Bitrix\Main\LoaderException; abstract class Base { protected $isEnabled; protected static $instances = []; /** * @return static */ public static function getInstance() { if(!isset(static::$instances[get_called_class()])) { static::$instances[get_called_class()] = new static(); } return static::$instances[get_called_class()]; } /** * @return bool */ public function isEnabled() { return $this->isEnabled; } /** * @return string */ abstract protected function getModuleName(); /** * @return bool */ protected function includeModule() { try { return Loader::includeModule($this->getModuleName()); } catch(LoaderException $exception) { return false; } } protected function __construct() { $this->isEnabled = $this->includeModule(); } }
/var/www/axolotl/data/www/yar.axolotls.ru/bitrix/modules/salescenter/lib/integration/base.php