Hi,
Is there a string of code that will enable me to check which blog the user is on, and then use that data. Along the lines of this:
<?php if($_SERVER['HTTP_HOST'] == 'www.domain.com/news/' || $_SERVER['HTTP_HOST'] == 'domain.com/news/') {
include ('http://source.domain.com/php/navigation_news.php');
} else {
include ('http://source.domain.com/php/navigation_home.php');
}
?>
But obviously that doesn't work :P
What I'm trying to accomplish is:
If current blog is "news" include the file 'navigation_news.php', otherwise include the file 'navigation_home.php'.
I don't have any PHP knowledge so I'm guessing at the code!