first commit
This commit is contained in:
36
admininistrator/config.php
Normal file
36
admininistrator/config.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
// APPLICATION
|
||||
define('APPLICATION', 'Admin');
|
||||
|
||||
// HTTP
|
||||
define('HTTP_SERVER', 'http://localhost/opencart/admininistrator/');
|
||||
define('HTTP_CATALOG', 'http://localhost/opencart/');
|
||||
|
||||
// DIR
|
||||
define('DIR_OPENCART', 'D:/xampp/htdocs/opencart/');
|
||||
define('DIR_APPLICATION', DIR_OPENCART . 'admininistrator/');
|
||||
define('DIR_EXTENSION', DIR_OPENCART . 'extension/');
|
||||
define('DIR_IMAGE', DIR_OPENCART . 'image/');
|
||||
define('DIR_SYSTEM', DIR_OPENCART . 'system/');
|
||||
define('DIR_CATALOG', DIR_OPENCART . 'catalog/');
|
||||
define('DIR_STORAGE', 'D:/xampp/storage/');
|
||||
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
|
||||
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
|
||||
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_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', 'opencart');
|
||||
define('DB_PORT', '3306');
|
||||
define('DB_PREFIX', 'oc_');
|
||||
|
||||
// OpenCart API
|
||||
define('OPENCART_SERVER', 'https://www.opencart.com/');
|
Reference in New Issue
Block a user