enterSection($_GET["obj"]."-".$_GET["action"]); //include include_once COMPONENT_DIR."/".$_GET["obj"].".class.php"; if($_GET["action"]!="") { //instanciation $obj = new $_GET["obj"]($_GET["action"]); } else { //instanciation $obj = new $_GET["obj"]; } if (DEBUG==1) $profiler->leaveSection($_GET["obj"]."-".$_GET["action"]); } else redirect(ROOT_HOST); if (DEBUG==1) { $profiler->stop(); echo "

"; $profiler->display(); echo "
"; } sql_query("COMMIT"); $db->disconnect(); ?>