forked from mcclanc/opencart-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
30 lines (27 loc) · 1 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://frontendiphere/');
// HTTPS
define('HTTPS_SERVER', 'http://frontendiphere/');
// DIR
define('DIR_APPLICATION', '/var/www/opencart/catalog/');
define('DIR_SYSTEM', '/var/www/opencart/system/');
define('DIR_IMAGE', '/var/www/opencart/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', 'dbiphere');
define('DB_USERNAME', 'usernamehere');
define('DB_PASSWORD', 'passwordhere');
define('DB_DATABASE', 'opencart');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');