[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.94 KiB
MD5: e2a0228bf69cd6f630feeb117f282357

dist-configure.php - 关闭高亮
  1. <?php
  2. /**
  3.  * dist-configure.php
  4.  *
  5.  * @package Configuration Settings
  6.  * @copyright Copyright 2003-2007 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 $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $
  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. define('DIR_WS_PHPBB', '/phpBB2/');
  38.  
  39. // * DIR_FS_* = Filesystem directories (local/physical)
  40. //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
  41. define('DIR_FS_CATALOG', '/');
  42.  
  43. define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  44. define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  45. define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
  46. define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
  47. define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
  48.  
  49. // define our database connection
  50. define('DB_TYPE', 'mysql');
  51. define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
  52. define('DB_SERVER', 'localhost');
  53. define('DB_SERVER_USERNAME', 'root');
  54. define('DB_SERVER_PASSWORD', '');
  55. define('DB_DATABASE', '');
  56. define('USE_PCONNECT', 'false');
  57. define('STORE_SESSIONS', 'db');
  58. // use 'db' for best support, or '' for file-based storage
  59.  
  60. // The next 2 "defines" are for SQL cache support.
  61. // For SQL_CACHE_METHOD, you can select from:  none, database, or file
  62. // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
  63. // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  64. // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash
  65. define('SQL_CACHE_METHOD', 'none');
  66. define('DIR_FS_SQL_CACHE', '/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache');
  67.  
  68. ?>


cron