• // Define the webserver and path parameters
• // HTTP_SERVER is your Main webserver: eg:'http://www.your_domain.com'
• // HTTPS_SERVER is your Secure webserver: eg:'https://www.your_domain.com'
• define('HTTP_SERVER', 'http://localhost');
• define('HTTPS_SERVER', 'https://localhost');
•
• // Use secure webserver for checkout and other parts of the site where sensitive data are handled?
• define('ENABLE_SSL_CATALOG', '');
• define('ENABLE_SSL_ADMIN', '');
•
• // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
• // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
• // so, your URLs will be built from either: HTTP_SERVER + DIR_WS_CATALOG or HTTPS_SERVER + DIR_WS_CATALOG
•
• define('DIR_WS_CATALOG', '/dev-200/');
• define('DIR_WS_HTTPS_CATALOG', '/dev-200/');
•
• //the following path need to show the COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
•
• define('DIR_FS_CATALOG', '/Programming/SVN/dev-2-0-0/');
• // define the database connection
• define('DB_TYPE', 'mysql');
• define('DB_PREFIX', '');
• define('DB_SERVER', 'localhost');
• define('DB_SERVER_USERNAME', 'root');
• define('DB_SERVER_PASSWORD', 'root987654321');
• define('DB_DATABASE', 'zencart200');
• define('DB_CHARSET', 'utf8');
•
• // define session handling
• define('STORE_SESSIONS', 'db');
• // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage
•
• // The next 2 "defines" are for SQL cache support.
• // For SQL_CACHE_METHOD, you can select from: none, database, or file
• // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
• // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
• // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
• define('SQL_CACHE_METHOD', 'none');
• define('DIR_FS_SQL_CACHE', '/Programming/SVN/dev-2-0-0/cache');
•
• // logging options -- the following are optional. To override default settings, uncomment and specify your alternate preferences:
• //define('DIR_FS_LOGS', DIR_FS_CATALOG . 'logs/');
• //define('STORE_DEBUG_LOG', DIR_FS_LOGS . 'zcDebugLog.txt');
•
• // EOF
- 0 Users Found This Useful