我有基于 Oscommerce 的网站,它在前端显示该网站的所有图像,但在管理面板中,图像(产品图像)没有显示,我在 /catalog/admin/includes/configure.php 文件下面给出以下。
define('HTTP_SERVER', 'http://mysite.com');
define('HTTP_CATALOG_SERVER', 'http://mysite.com');
define('HTTPS_CATALOG_SERVER', 'http://mysite.com');
define('ENABLE_SSL_CATALOG', 'false');
define('DIR_FS_DOCUMENT_ROOT', '/home3/hearworl/public_html/shop_now/catalog/');
define('DIR_WS_ADMIN', '/shop_now/catalog/admin/');
define('DIR_FS_ADMIN', '/home3/hearworl/public_html/shop_now/catalog/admin/');
define('DIR_WS_CATALOG', '/home3/hearworl/public_html/shop_now/catalog/');
define('DIR_FS_CATALOG', '/home3/hearworl/public_html/shop_now/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');