View Single Post
  #24  
Old 22nd October 2008, 21:44
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
Hopefully I've fixed the error, well seems to work anyway and updated the code on the test site here.

I've edited bittorrent.php

FIND
PHP Code:
if ($_SERVER["HTTP_HOST"] == "")                        // Root Based Installs Comment Out if in Sub-Dir
  
$_SERVER["HTTP_HOST"] = $_SERVER["SERVER_NAME"];      // Comment out for Sub-Dir Installs
$BASEURL "http://" $_SERVER["HTTP_HOST"];           // Comment out for Sub-Dir Installs
//$BASEURL = 'http://domain.com';                       // Uncomment for Sub-Dir Installs - No Ending Slash 
CHANGE
PHP Code:
//if ($_SERVER["HTTP_HOST"] == "")                        // Root Based Installs Comment Out if in Sub-Dir
//  $_SERVER["HTTP_HOST"] = $_SERVER["SERVER_NAME"];      // Comment out for Sub-Dir Installs
//$BASEURL = "http://" . $_SERVER["HTTP_HOST"];           // Comment out for Sub-Dir Installs
$BASEURL $config['domain'];                       // Uncomment for Sub-Dir Installs - No Ending Slash 
Reply With Quote