home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 90 / PIWD90.iso / pc / contents / ecommerce / software / osCommerce.exe / oscommerce-2.2ms2 / catalog / includes / configure.php < prev    next >
PHP Script  |  2003-07-08  |  2KB  |  46 lines

  1. <?php
  2. /*
  3.   $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $
  4.  
  5.   osCommerce, Open Source E-Commerce Solutions
  6.   http://www.oscommerce.com
  7.  
  8.   Copyright (c) 2003 osCommerce
  9.  
  10.   Released under the GNU General Public License
  11. */
  12.  
  13. // Define the webserver and path parameters
  14. // * DIR_FS_* = Filesystem directories (local/physical)
  15. // * DIR_WS_* = Webserver directories (virtual/URL)
  16.   define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers
  17.   define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
  18.   define('ENABLE_SSL', false); // secure webserver for checkout procedure?
  19.   define('HTTP_COOKIE_DOMAIN', '');
  20.   define('HTTPS_COOKIE_DOMAIN', '');
  21.   define('HTTP_COOKIE_PATH', '');
  22.   define('HTTPS_COOKIE_PATH', '');
  23.   define('DIR_WS_HTTP_CATALOG', '');
  24.   define('DIR_WS_HTTPS_CATALOG', '');
  25.   define('DIR_WS_IMAGES', 'images/');
  26.   define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  27.   define('DIR_WS_INCLUDES', 'includes/');
  28.   define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
  29.   define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  30.   define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  31.   define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  32.   define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  33.  
  34.   define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
  35.   define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
  36.   define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  37.   define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  38.  
  39. // define our database connection
  40.   define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers
  41.   define('DB_SERVER_USERNAME', '');
  42.   define('DB_SERVER_PASSWORD', '');
  43.   define('DB_DATABASE', 'osCommerce');
  44.   define('USE_PCONNECT', 'false'); // use persistent connections?
  45.   define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
  46. ?>