in case anyone ever uses IH4 with multiple sites using one database on the same server, here is how to make it work
you have site1original.com site2forsomething.com. and you only use site1original.com to add products.
you need to
edit site2forsomething.com/includes/functions/html_output.php
find
second instance of
// alt is added to the img tag even if it is null to prevent browsers from outputting
// the image filename as default
(line 197)
add this directly below it
PHP Code:
if ($_SERVER['HTTPS']== 'on' ){$src="https://www.site1original.com/".$src;} else {$src="http://www.site1original.com/".$src;}
also need to have this in your site2forsomething.com/includes/configure.php
define('DIR_FS_CATALOG', '/home/myaccount/locationOfSite1original/');
define('DIR_FS_SQL_CACHE', '/home/myaccount/locationOfSite1original/cache');
Bookmarks