View Single Post
  #29  
Old 03-22-2004, 11:13 AM
  domspe's Avatar 
domspe domspe is offline
 

Advanced Member
  
Join Date: Mar 2004
Location: Sarasota, FL
Posts: 79
 

Default the answer

Thanks TelaFirma - thats some good advice!

Yes, temporarily, my index.php file redirects to home.php. OMG! i'll have to remake my index to be home.php - the tragedy - my point was, it was not redirecting to some subdirectory, which IMO sucks... there was no need for the exhausting discussion, just a typing error on my part

anyhow, the answer to how to change the customer or any other directory lies in the top.inc.php file -

Quote:
if (!defined('DIR_CUSTOMER')) {

#
# Directories structure definitions
#

#
# Real path to the directory where X-Cart is installed
# If you have problems with __FILE__ constant definition on your server
# you can specify path directly. For example:
# $xcart_dir = '/home/user/public_html/xcart';
#
$xcart_dir = realpath(dirname(__FILE__));

# Directories location definition
# Examples:
# Customer's scripts are placed into the X-Cart subdirectory:
# define ('DIR_CUSTOMER', '/<name_of_directory>');
# define ('DIR_CUSTOMER', '/customer');
# define ('DIR_ADMIN', '/admin');
# define ('DIR_ADMIN', '/service_area/administration');
#
# (!) Customer's scripts are placed into the root X-Cart directory:
# define ('DIR_CUSTOMER', '');
#
define ('DIR_CUSTOMER', '');
define ('DIR_ADMIN', '/admin');
define ('DIR_PROVIDER', '/provider');
define ('DIR_PARTNER', '/partner');

#
# Note: DIR_PARTNER is valid only for installed X-Affiliate module
#
}
__________________
~jaime*
shop.mpartworks.com
~~~~~~~~~~~~~~
xcart pro 3.5.5
heavily modified
freeBSD 4.8
php 4.3.3
Reply With Quote