-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
56 lines (49 loc) · 2.91 KB
/
config.php
File metadata and controls
56 lines (49 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Если заполнено - это значит то, что человек закончил установку и то, что он вообще редактировал этот файл
* If filled - it means that the person has finished the installation and the fact that he did edit this file
*/
define('IS_FILL_KEY', 'a5s3d6030b');
/**
* Настройка базы данных
* Setting up the database
*/
define('NAME_DB', '');
define('USER_DB', 'root');
define('PASSWORD_DB', '');
define('HOST_DB', 'localhost');
/**
* Первоначальные данные администратора
* Initial data administrator
*/
define('ADMIN_EMAIL', 'admin@admin.ru'); //TODO на email будут высылаться системные уведомления
define('ADMIN_PASS', 'admin');
define('ADMIN_LOGIN', 'admin');
define('ADMIN_NAME', 'Administrator');
define('YOUR_LANG', 'ru'); //ru, en . now no other language
define('MAX_WORK_TIME_IN_DAY', '8'); //количество рабочих часов в день, не считая обеденного перерыва
//!!!!!!!! вконце обязательно поставить "/", а в начале http://
//!!!!!!!! be sure to put at the end of "/", do not forget http://
//Ex: http://PsiTime.org/
define('SITE_URL', '');
/**
* Постраничная навигация.
* Pagination.
* @define MAX_COUNT_LINK_FOR_PAGINATION - Количество ссылок. На данный момент она равна 10 (Number of references to the pagination. At the moment it is 10)
* @define MAX_COUNT_OBJECT_PER_PAGE - Количество задач, отображаемых в виде. На данный момент 10 (Number of references to the pagination. At the moment it is 10)
*/
//если слишком много ссылок навигации, то уменьшить (if there are too much links of navigation, to reduce)
define('MAX_COUNT_LINK_FOR_PAGINATION', 10);
//если мало отображаются заданий на одной странице, то увеличить это число (if are a little displayed tasks on one page, to increase this number)
define('MAX_COUNT_OBJECT_PER_PAGE', 5);
/**
* Если false, то искользуются красивые чекбоксы, но порой при нажатии они неактивируются... , если true - стандартные
* If false, then use the checkboxes beautiful, but sometimes when you are non-inducing ..., if true - standard
* TODO - сделать стили для css и некоторые функции в js переработать
*/
define('DEFAULT_CHECKBOX', false);
/**
* Путь к главной папке с файлами отображения сайта
* Way to the main folder with files of display of the site
*/
define('DEFAULT_VIEW', 'default');