12266213d0
* translation system and unit tests * Translations everywhere Dont use translation merge It is not available with PHP builtin gettext, so it would have lead to inconsistency.
18 lines
353 B
PHP
18 lines
353 B
PHP
<?php
|
|
|
|
|
|
namespace Shaarli\Config\Exception;
|
|
|
|
/**
|
|
* Exception used if an unauthorized attempt to edit configuration has been made.
|
|
*/
|
|
class UnauthorizedConfigException extends \Exception
|
|
{
|
|
/**
|
|
* Construct exception.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
$this->message = t('You are not authorized to alter config.');
|
|
}
|
|
}
|