-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
30 lines (27 loc) · 1.04 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
<?php
// HTTP
define('HTTP_SERVER', 'http://localhost/kids-toys/');
// HTTPS
define('HTTPS_SERVER', 'http://localhost/kids-toys/');
// DIR
define('DIR_APPLICATION', 'C:/wamp64/www/kids-toys/catalog/');
define('DIR_SYSTEM', 'C:/wamp64/www/kids-toys/system/');
define('DIR_IMAGE', 'C:/wamp64/www/kids-toys/image/');
define('DIR_STORAGE', 'C:/wamp64/www/kids-toys/system/storage-kids-toys/');
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', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'product');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');