]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - application/config/exception/UnauthorizedConfigException.php
Shaarli's translation
[github/shaarli/Shaarli.git] / application / config / exception / UnauthorizedConfigException.php
CommitLineData
5ba55f0c
A
1<?php
2
3
4namespace Shaarli\Config\Exception;
5
6/**
7 * Exception used if an unauthorized attempt to edit configuration has been made.
8 */
9class UnauthorizedConfigException extends \Exception
10{
11 /**
12 * Construct exception.
13 */
14 public function __construct()
15 {
12266213 16 $this->message = t('You are not authorized to alter config.');
5ba55f0c
A
17 }
18}