[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * dist-configure.php 4 * 5 * @package initSystem 6 * @copyright Copyright 2003-2006 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 4271 2006-08-26 01:21:02Z 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'); // use persistent connections? 57 define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage 58 59 // The next 2 "defines" are for SQL cache support. 60 // For SQL_CACHE_METHOD, you can select from: none, database, or file 61 // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 62 // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder 63 // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash 64 define('SQL_CACHE_METHOD', 'none'); 65 define('DIR_FS_SQL_CACHE', '/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache'); 66 67 ?>
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 |
![]() |