Ok this is an simple mod to change the siteurl if using https
in thory should fix issues while browsers stating an mix of secure data and insecure data.
in confg.php
change
ps: you could also use the $site_config['TSITEURL'] var in emails send if say only your staff or uploaders + are forced to use https
in thory should fix issues while browsers stating an mix of secure data and insecure data.
in confg.php
change
$site_config['SITEURL'] = 'http://changemydomain.com'; //Main Site URL changemydomain.com to well your domain
to
if($_SERVER['SERVER_PORT'] != '443')
$site_config['SITEURL'] = 'http://changemydomain.com'; //Main Site URL changemydomain.com to well your domain
else
$site_config['SITEURL'] = 'https://changemydomain.com'; //Main Site URL changemydomain.com to well your domain
and after that add
$site_config['TSITEURL'] = 'http://changemydomain.com'; //Main Tracker URL
now farther down change
$site_config['PASSKEYURL'] = "$site_config[sITEURL]/announce.php?passkey=%s"; // Announce URL to use for passkey
to
$site_config['PASSKEYURL'] = "$site_config[TSITEURL]/announce.php?passkey=%s"; // Announce URL to use for passkey
keep the old url for the announce_list aka
$site_config['announce_list'] = "http://mydomain/announce.php";ps: you could also use the $site_config['TSITEURL'] var in emails send if say only your staff or uploaders + are forced to use https