[ Index ]
osCommerce Docs :: PHP Cross Reference For osCommerce 2.2 MS2
Provided By OSCdox.com

/includes/ -> configure.php (source)

[Summary view]

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


Generated: Tue Nov 4 23:53:39 2003
Hosted By :: AABox.com
Cross-referenced by PHPXref 0.4