Code:
<?
require("/path/to/global.php");
require("/path/to/admin/config.php");
//first load global.php & the vB config file
//Use this if you want one variable /?var1=blah
//conf_$var1.php is the different Configuration file for PluhNews...So, if you put this code in file.php,
//and loaded file.php like this: file.php?var1=news, it
//would load the configuration file called: conf_news.php
//(this would have the contents of PluhConfig.pgp in it.
if (isset($var1)) {include("/path/to/news/conf_$var1.php");
} else {}
//than include the news.php file
include("/path/to/PluhNews.php");
?>
BTW: You can $var1 to ANYTHING you want.. to load for example, or file, or news, or forums, or absolutly anything, as long as I starts with a letter and doesn't end with a _..
Make sure you change them both if you do.