opencart4.0.png (95.69 KB, 下載次數: 0)
- <?php
- // APPLICATION
- define('APPLICATION', 'Catalog');
-
- // HTTP
- define('HTTP_SERVER', 'https://yourdomain/');
-
- // DIR
- define('DIR_OPENCART', '/home/yourdomain/public_html/');
- define('DIR_APPLICATION', DIR_OPENCART . 'catalog/');
- define('DIR_EXTENSION', DIR_OPENCART . 'extension/');
- define('DIR_IMAGE', DIR_OPENCART . 'image/');
- define('DIR_SYSTEM', DIR_OPENCART . 'system/');
- define('DIR_STORAGE', DIR_SYSTEM . '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', 'xxx');
- define('DB_PASSWORD', 'xxx');
- define('DB_DATABASE', 'xxx');
- define('DB_PORT', '3306');
- define('DB_PREFIX', 'oc_');
複製代碼
opencart 升級 步調 問題
2024-4-25 18:34 上傳
留言列表