-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.sample.php
More file actions
35 lines (30 loc) · 1.08 KB
/
config.sample.php
File metadata and controls
35 lines (30 loc) · 1.08 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
<?php
// HTTP
define('HTTP_SERVER', 'http://chint/');
// HTTPS
define('HTTPS_SERVER', HTTP_SERVER);
// DIR
define('DIR_OCROOT', str_replace('\\', '/', realpath(dirname(__FILE__))) . '/');
define('DIR_APPLICATION', DIR_OCROOT . 'catalog/');
define('DIR_SYSTEM', DIR_OCROOT . 'system/');
define('DIR_IMAGE', DIR_OCROOT . 'image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', '192.168.0.112');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', 'admin123my');
define('DB_DATABASE', 'project_chint');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
// Others
define('DEBUG', false);