-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
75 lines (70 loc) · 2.17 KB
/
config.php
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
/*
|--------------------------------------------------------------------------
| Http path to server
|--------------------------------------------------------------------------
|
| These modes are used when working with http
|
*/
define('HTTP_SERVER', 'http://six/');
define('HTTP_IMAGE', 'http://six/image/');
/*
|--------------------------------------------------------------------------
| dir on server
|--------------------------------------------------------------------------
|
| These modes are used when working with dirictory
|
*/
define('DIR_SYSTEM', '../system/');
define('DIR_DATABASE', DIR_SYSTEM . 'database/');
define('DIR_ENGINE', DIR_SYSTEM . 'engine/');
define('DIR_LIBRARY', DIR_SYSTEM . 'library/');
define('DIR_HELPER', DIR_SYSTEM . 'helper/');
define('DIR_CONTENT', 'content/');
define('DIR_CONTROLLERS', '../controllers/');
define('DIR_MODELS', '../models/');
define('DIR_SCRIPTS', 'scripts/');
define('DIR_VIEWS', '../views/');
define('DIR_SHARED', 'Shared/');
define('DIR_START', '../app_start/');
define('DIR_IMAGE', 'image/');
define('DIR_LANGUAGE', '../lang/');
define('DIR_FILES', '../files/');
/*
|--------------------------------------------------------------------------
| database connection parametrs
|--------------------------------------------------------------------------
|
| These modes are used when working with database
|
*/
define('DB_DRIVER', 'Mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'mvc');
define('DB_PREFIX', '');
/*
|--------------------------------------------------------------------------
| extends of file
|--------------------------------------------------------------------------
|
| These modes are used when working files
|
*/
define('FILE_LAYOUT', 'layout');
define('FILE_VIEW', 'tpl');
define('AUTORIZATION', 'simply');
/*
|--------------------------------------------------------------------------
| Param to autorization
|--------------------------------------------------------------------------
|
| Use this parametr when you need to constrain multilogon
|
*/
//define('AUTORIZATION_MULTILOGON', 'false');
/* End of file config.php */
/* Location: ./config.php */