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