getMessage(); } function init_session() { $_SESSION['indexing'] = array(); $_SESSION['resourcesConfig'] = array(); } init_session(); $func = new functions(); $resourcesControler = new ResourcesControler(); $_SESSION['resourcesConfig'] = $resourcesControler->loadResourcesConfig("xml/resources.xml"); $db = new dbquery(); $db->connect(); //the view include("resources_indexing.php"); ?>