uawdijnntqw1x1x1
IP : 18.220.167.202
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
/
translate
/
lib
/
controller
/
controller.php
/
/
<?php namespace Bitrix\Translate\Controller; use Bitrix\Main; const STATUS_COMPLETED = 'COMPLETED'; const STATUS_PROGRESS = 'PROGRESS'; /** * @const SETTING_ID */ abstract class Controller extends Main\Engine\Controller { /** * Common operations before process action. * @param Main\Engine\Action $action Action. * @return bool If method will return false, then action will not execute. */ protected function processBeforeAction(Main\Engine\Action $action) { if (parent::processBeforeAction($action)) { if (!Main\Loader::includeModule('translate')) { $this->addError(new Main\Error('Translate module not installed')); } return count($this->getErrors()) === 0; } return true; } /** * Checks if error occurred. * * @return boolean */ public function hasErrors() { if (!$this->errorCollection instanceof Main\ErrorCollection) { return false; } return !$this->errorCollection->isEmpty(); } }
/var/www/axolotl/data/www/yar.axolotls.ru/bitrix/modules/translate/lib/controller/controller.php