如何修改opencart系统设置-网店地址?

opencart网店,每个store有个config.php文件,可以修改文件里的的路径
两个config.php文件在网站root根、admin目录下
如将:define('HTTP_SERVER', 'http://www.abc.com/759hk.com/');
修改为:define('HTTP_SERVER', 'http://www.759hk.com/');

config.php
=========================

<?php
// HTTP
define(‘HTTP_SERVER’, ‘http://www.abc.com/759hk.com/’);
define(‘HTTP_IMAGE’, ‘http://www.abc.com/759hk.com/image/’);
define(‘HTTP_ADMIN’, ‘http://www.abc.com/759hk.com/admin/’);

// HTTPS
define(‘HTTPS_SERVER’, ‘http://www.abc.com/759hk.com/’);
define(‘HTTPS_IMAGE’, ‘http://www.abc.com/759hk.com/image/’);

// DIR
define(‘DIR_APPLICATION’, ‘/home/abc/public_html/759hk.com/catalog/’);
define(‘DIR_SYSTEM’, ‘/home/abc/public_html/759hk.com/system/’);
define(‘DIR_DATABASE’, ‘/home/abc/public_html/759hk.com/system/database/’);
define(‘DIR_LANGUAGE’, ‘/home/abc/public_html/759hk.com/catalog/language/’);
define(‘DIR_TEMPLATE’, ‘/home/abc/public_html/759hk.com/catalog/view/theme/’);
define(‘DIR_CONFIG’, ‘/home/abc/public_html/759hk.com/system/config/’);
define(‘DIR_IMAGE’, ‘/home/abc/public_html/759hk.com/image/’);
define(‘DIR_CACHE’, ‘/home/abc/public_html/759hk.com/system/cache/’);
define(‘DIR_DOWNLOAD’, ‘/home/abc/public_html/759hk.com/download/’);
define(‘DIR_LOGS’, ‘/home/abc/public_html/759hk.com/system/logs/’);

发表评论

您的电子邮箱地址不会被公开。