Use one configure.php support multi osCommerce site

April 13, 2007 by hejian

This is the smart configure.php:

define('HTTP_SERVER', 'http://'. $_SERVER['HTTP_HOST']);
define(’HTTPS_SERVER’, ‘https://’. $_SERVER['HTTP_HOST']);
define(’HTTP_COOKIE_DOMAIN’, $_SERVER['HTTP_HOST']);
define(’HTTPS_COOKIE_DOMAIN’, $_SERVER['HTTP_HOST']);

Leave a Reply

You must be logged in to post a comment.

Wordpress template made by HeJian