[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 // 3 // +----------------------------------------------------------------------+ 4 // |zen-cart Open Source E-commerce | 5 // +----------------------------------------------------------------------+ 6 // | Copyright (c) 2003 The zen-cart developers | 7 // | | 8 // | http://www.zen-cart.com/index.php | 9 // | | 10 // | Portions Copyright (c) 2003 osCommerce | 11 // +----------------------------------------------------------------------+ 12 // | This source file is subject to version 2.0 of the GPL license, | 13 // | that is bundled with this package in the file LICENSE, and is | 14 // | available through the world-wide-web at the following url: | 15 // | http://www.zen-cart.com/license/2_0.txt. | 16 // | If you did not receive a copy of the Zen Cart license and are unable | 17 // | to obtain it through the world-wide-web, please send a note to | 18 // | license@zen-cart.com so we can mail you a copy immediately. | 19 // +----------------------------------------------------------------------+ 20 // $Id: dist-configure.php 4095 2006-08-08 02:32:01Z drbyte $ 21 // 22 23 // Define the webserver and path parameters 24 // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com 25 // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com 26 // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com 27 // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com 28 /* 29 * URL's for your site will be built via: 30 * HTTP_SERVER plus DIR_WS_ADMIN or 31 * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 32 * HTTP_SERVER plus DIR_WS_CATALOG or 33 * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG 34 * ...depending on your system configuration settings 35 */ 36 define('HTTP_SERVER', 'http://localhost'); 37 define('HTTPS_SERVER', 'https://127.0.0.1'); 38 define('HTTP_CATALOG_SERVER', 'http://localhost'); 39 define('HTTPS_CATALOG_SERVER', 'https://localhost'); 40 41 // secure webserver for catalog module and/or admin areas? 42 define('ENABLE_SSL_CATALOG', 'false'); 43 define('ENABLE_SSL_ADMIN', 'false'); 44 45 // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! 46 47 // * DIR_WS_* = Webserver directories (virtual/URL) 48 // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) 49 define('DIR_WS_ADMIN', '/admin/'); 50 define('DIR_WS_CATALOG', '/'); 51 define('DIR_WS_HTTPS_ADMIN', '/admin/'); 52 define('DIR_WS_HTTPS_CATALOG', '/'); 53 54 define('DIR_WS_IMAGES', 'images/'); 55 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 56 define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); 57 define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); 58 define('DIR_WS_INCLUDES', 'includes/'); 59 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); 60 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); 61 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); 62 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); 63 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); 64 define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); 65 66 // * DIR_FS_* = Filesystem directories (local/physical) 67 //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ 68 define('DIR_FS_ADMIN', '/admin/'); 69 define('DIR_FS_CATALOG', '/'); 70 71 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); 72 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); 73 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); 74 define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); 75 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); 76 define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); 77 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); 78 79 // define our database connection 80 define('DB_TYPE', 'mysql'); 81 define('DB_PREFIX', 'zen_'); 82 define('DB_SERVER', 'localhost'); 83 define('DB_SERVER_USERNAME', 'root'); 84 define('DB_SERVER_PASSWORD', ''); 85 define('DB_DATABASE', ''); 86 define('USE_PCONNECT', 'false'); // use persistent connections? 87 define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage 88 89 // The next 2 "defines" are for SQL cache support. 90 // For SQL_CACHE_METHOD, you can select from: none, database, or file 91 // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 92 // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder 93 // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash 94 define('SQL_CACHE_METHOD', 'none'); 95 define('DIR_FS_SQL_CACHE', '/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache'); 96 97 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 16:45:43 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |