portal.mkgtu.ru/common/components/EnvironmentManager/exceptions/EnvironmentException.php

14 lines
709 B
PHP
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace common\components\EnvironmentManager\exceptions;
use Exception;
use Throwable;
class EnvironmentException extends Exception
{
public function __construct($code = 0, Throwable $previous = null)
{
parent::__construct("Работа портала вуза не обеспечивается с выбранным окружением. Вы можете принудительно отключить обработку этого исключения установив значение <strong><em>false</em></strong> для поля <em>ENABLE_ENVIRONMENT_CHECK</em> в конфигурационном файле .env в корне портала.", $code, $previous);
}
}