include "config.inc.php";
db_connect();
if($_GET["path"])
{
$temp_array=explode(".",$_GET["path"]);
if($temp_array[0]) $module = $temp_array[0];
if($temp_array[1]) $level = $temp_array[1];
if($temp_array[2]) $selectedItem = $temp_array[2];
}
$module_list = array("entreprise", "produits", "references", "home");
$module_titles = array("entreprise"=>"L'entreprise", "produits"=>"Produits", "gallerie"=>"Galerie photo", "home"=>"Accueil");
if (!isset($module) || !$module || !in_array($module, $module_list)) $module="home";
//2- Inclusion Locale
if(file_exists($home_dir."/".$module."/config.inc.php")) include $home_dir."/".$module."/config.inc.php";
//header("Location: presentation.php");
?>
UMS