That's correct. Let's say you want to load "custom.ini" on the home page, and "sub.ini" on all the other pages. You could add this to the top of every page...
PHP Code:
if($_SERVER['PHP_SELF']=="index.php") { //index.php is your homepage
$config = "custom.ini";
}
else { //on a page other than home...
$config = "sub.ini";
}
This will set the $config variable to be the right .ini file you want. Then the following statement will load the correct config file (.ini file).
Code:
<link rel="stylesheet" type="text/css" media="screen,projection"
href="/udm-resources/udm-style.php?config=<?php echo($config); ?>" />
and
<script type="text/javascript"
src="/udm-resources/udm-dom.php?config=<?php echo($config); ?>"></script>
Let me know if you have any further questions.