Guest User

Untitled

a guest
Jun 19th, 2011
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 KB | None | 0 0
  1. <?php
  2. /**
  3. * @package Configuration Settings circa 1.3.9
  4. * @copyright Copyright 2003-2010 Zen Cart Development Team
  5. * @copyright Portions Copyright 2003 osCommerce
  6. * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  7. * File Built by zc_install on 2011-06-19 09:34:44
  8. */
  9.  
  10.  
  11. /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
  12. /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/
  13.  
  14. // Define the webserver and path parameters
  15. // Main webserver: eg-http://www.your_domain.com -
  16. // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
  17. // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
  18. // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
  19. // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
  20. /*
  21. * URLs for your site will be built via:
  22. * HTTP_SERVER plus DIR_WS_ADMIN or
  23. * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
  24. * HTTP_SERVER plus DIR_WS_CATALOG or
  25. * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
  26. * ...depending on your system configuration settings
  27. *
  28. * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
  29. */
  30. define('HTTP_SERVER', 'http://example.com');
  31. define('HTTPS_SERVER', 'https://example.com');
  32. define('HTTP_CATALOG_SERVER', 'http://example.com');
  33. define('HTTPS_CATALOG_SERVER', 'https://example.com');
  34.  
  35. // Use secure webserver for catalog module and/or admin areas?
  36. define('ENABLE_SSL_CATALOG', 'false');
  37. define('ENABLE_SSL_ADMIN', 'false');
  38.  
  39. // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
  40. // * DIR_WS_* = Webserver directories (virtual/URL)
  41. // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  42. define('DIR_WS_ADMIN', '/catalog/admin/');
  43. define('DIR_WS_CATALOG', '/catalog/');
  44. define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/');
  45. define('DIR_WS_HTTPS_CATALOG', '/catalog/');
  46.  
  47. define('DIR_WS_IMAGES', 'images/');
  48. define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  49. define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
  50. define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
  51. define('DIR_WS_INCLUDES', 'includes/');
  52. define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
  53. define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  54. define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  55. define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  56. define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  57. define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
  58.  
  59. // * DIR_FS_* = Filesystem directories (local/physical)
  60. //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
  61. define('DIR_FS_ADMIN', '/home/example/public_html/catalog/admin/');
  62. define('DIR_FS_CATALOG', '/home/example/public_html/catalog/');
  63.  
  64. define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
  65. define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
  66. define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
  67. define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
  68. define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
  69. define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
  70. define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  71.  
  72. // define our database connection
  73. define('DB_TYPE', 'mysql');
  74. define('DB_PREFIX', '');
  75. define('DB_SERVER', 'localhost');
  76. define('DB_SERVER_USERNAME', 'example_zencart');
  77. define('DB_SERVER_PASSWORD', 'password');
  78. define('DB_DATABASE', 'example_db');
  79. define('USE_PCONNECT', 'false');
  80. define('STORE_SESSIONS', '');
  81. // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage
  82.  
  83. // The next 2 "defines" are for SQL cache support.
  84. // For SQL_CACHE_METHOD, you can select from: none, database, or file
  85. // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
  86. // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  87. // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
  88. define('SQL_CACHE_METHOD', 'file');
  89. define('DIR_FS_SQL_CACHE', '/home/example/public_html/catalog/cache');
  90.  
  91. // EOF
Advertisement
Add Comment
Please, Sign In to add comment