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

/admin/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('HTTP_CATALOG_SERVER', 'http://192.168.1.100');
  16    define('HTTPS_CATALOG_SERVER', '');
  17    define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
  18    define('DIR_FS_DOCUMENT_ROOT', 'c:/webroot/www/ms2/catalog/'); // where the pages are located on the server
  19    define('DIR_WS_ADMIN', '/ms2/catalog/admin/'); // absolute path required
  20    define('DIR_FS_ADMIN', 'c:/webroot/www/ms2/catalog/admin/'); // absolute pate required
  21    define('DIR_WS_CATALOG', '/ms2/catalog/'); // absolute path required
  22    define('DIR_FS_CATALOG', 'c:/webroot/www/ms2/catalog/'); // absolute path required
  23    define('DIR_WS_IMAGES', 'images/');
  24    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  25    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
  26    define('DIR_WS_INCLUDES', 'includes/');
  27    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
  28    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  29    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  30    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  31    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  32    define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
  33    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
  34    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
  35    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
  36    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
  37  
  38  // define our database connection
  39    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
  40    define('DB_SERVER_USERNAME', '');
  41    define('DB_SERVER_PASSWORD', '');
  42    define('DB_DATABASE', 'ms2');
  43    define('USE_PCONNECT', 'false'); // use persisstent connections?
  44    define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
  45  ?>


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