# INSTALLING b2 in a SEPERATE DIRECTORY # Source: http://cafelog.com/board/viewtopic.php?t=2014 There are probably more than two ways of doing this, but i chose to include these two in this file, because they were well-documented. A look at the source (above) may be a good idea, though. Sigg3. # ALTERNATIVE 1 # by Joshua Clinard Thanks to Nessahead and Cyberian75 This modification was originally posted by nessahead, but a few lines of code have been changed in the latest version of b2, and there is one function that no longer works. Therefore, I am posting a new version of this modification, which has been tested with b2 0.6.1, so that people can easily install it without having to read every post in the other thread. I chose to install b2 in a directory called news. b2config.php - Line 35 $pathserver = 'http://mydomain.com'; Change to: $pathserver = 'http://mydomain.com/news'; b2config.php - Line 211 $smilies_directory = 'http://mydomain.com/b2-img/smilies'; Change to: $smilies_directory = 'http://mydomain.com/news/b2-img/smilies'; b2archives.php - Line 5 require_once('./b2config.php'); Change to: require_once('news/b2config.php'); b2archives.php - Line 6 require_once($b2inc.'/b2functions.php'); Change to: require_once('news/b2-include/b2functions.php'); b2comments.php Line 51