17 lines
696 B
PHP
17 lines
696 B
PHP
<?php
|
|
class ERRORS {
|
|
const INVALID_CREDENTIALS = 'User or password is not defined';
|
|
const SESSION_EXISTS = 'User is already logged in';
|
|
const NO_PERMISSION = 'You have no permission to access';
|
|
const INVALID_TITLE = 'Invalid title';
|
|
const INVALID_CONTENT = 'Invalid content';
|
|
const INVALID_EMAIL = 'Invalid email';
|
|
const INVALID_PASSWORD = 'Invalid password';
|
|
const INVALID_NAME = 'Invalid name';
|
|
const INVALID_SETTING = 'Invalid setting';
|
|
const INVALID_DEPARTMENT = 'Invalid department';
|
|
const INVALID_TICKET = 'Invalid ticket';
|
|
const INIT_SETTINGS_DONE = 'Settings already initialized';
|
|
const INVALID_OLD_PASSWORD = 'Invalid old password';
|
|
}
|