-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
26 lines (23 loc) · 922 Bytes
/
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
<?php
// These two overrides fix some weirdness when running in Vagrant without FQDN.
define('HTTP_SERVER','/');
define('HTTP_IMAGE', '/image/');
// DIR
define('DIR_APPLICATION', '/var/opencart/catalog/');
define('DIR_SYSTEM', '/var/opencart/system/');
define('DIR_DATABASE', '/var/opencart/system/database/');
define('DIR_LANGUAGE', '/var/opencart/catalog/language/');
define('DIR_TEMPLATE', '/var/opencart/catalog/view/theme/');
define('DIR_CONFIG', '/var/opencart/system/config/');
define('DIR_IMAGE', '/var/opencart/image/');
define('DIR_CACHE', '/var/opencart/system/cache/');
define('DIR_DOWNLOAD', '/var/opencart/download/');
define('DIR_LOGS', '/var/opencart/system/logs/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', '<%= db_host %>');
define('DB_USERNAME', '<%= db_user %>');
define('DB_PASSWORD', '<%= db_password %>');
define('DB_DATABASE', '<%= db_database %>');
define('DB_PREFIX', '');
?>