[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文件
文件大小: 3.29 KiB
MD5: 39554676901c9e093070dd230133217b

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


cron