2017-03-08 20:28:33 +01:00
|
|
|
<?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()
|
|
|
|
{
|
2017-05-09 18:12:15 +02:00
|
|
|
$this->message = t('You are not authorized to alter config.');
|
2017-03-08 20:28:33 +01:00
|
|
|
}
|
|
|
|
}
|