[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 dist-configure.php

Zen Cart 源代码 dist-configure.php




下载文件

文件名: dist-configure.php
文件类型: PHP文件
文件大小: 2.82 KiB
MD5: de511583175148d516539219ff21e94d

dist-configure.php - 关闭高亮
  1. <?php
  2. /**
  3.  * dist-configure.php
  4.  *
  5.  * @package Configuration Settings
  6.  * @copyright Copyright 2003-2012 Zen Cart Development Team
  7.  * @copyright Portions Copyright 2003 osCommerce
  8.  * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  9.  * @version GIT: $Id: Author: DrByte  Tue Jul 31 17:24:25 2012 -0400 Modified in v1.5.1 $
  10.  * @private
  11.  */
  12. // Define the webserver and path parameters
  13. // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
  14. // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
  15. define('HTTP_SERVER', 'http://localhost');
  16. define('HTTPS_SERVER', 'https://localhost');
  17.  
  18. // Use secure webserver for checkout procedure?
  19. define('ENABLE_SSL', 'false');
  20.  
  21. // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
  22.  
  23. // * DIR_WS_* = Webserver directories (virtual/URL)
  24. // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  25. define('DIR_WS_CATALOG', '/');
  26. define('DIR_WS_HTTPS_CATALOG', '/');
  27.  
  28. define('DIR_WS_IMAGES', 'images/');
  29. define('DIR_WS_INCLUDES', 'includes/');
  30. define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  31. define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  32. define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  33. define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  34. define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
  35. define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
  36.  
  37. // * DIR_FS_* = Filesystem directories (local/physical)
  38. //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
  39. define('DIR_FS_CATALOG', '/');
  40.  
  41. define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  42. define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  43. define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
  44. define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
  45. define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
  46.  
  47. // define our database connection
  48. define('DB_TYPE', 'mysql');
  49. define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
  50. define('DB_CHARSET', 'utf8');
  51. define('DB_SERVER', 'localhost');
  52. define('DB_SERVER_USERNAME', '');
  53. define('DB_SERVER_PASSWORD', '');
  54. define('DB_DATABASE', '');
  55.  
  56. // The next 2 "defines" are for SQL cache support.
  57. // For SQL_CACHE_METHOD, you can select from:  none, database, or file
  58. // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
  59. // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  60. // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash
  61. define('SQL_CACHE_METHOD', 'none');
  62. define('DIR_FS_SQL_CACHE', '/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache');
  63.  
  64.  


cron