<?php
/*
 * This file includes lp_list_search to avoid duplication of code, it
 * bootstraps dokeos api enough to make lp_list_search work.
 */

include_once ('../inc/global.inc.php');
 //var_dump(api_get_path(LIBRARY_PATH));
include_once (api_get_path(LIBRARY_PATH).'course.lib.php');
include_once (api_get_path(LIBRARY_PATH).'debug.lib.inc.php');
include_once (api_get_path(LIBRARY_PATH).'system_announcements.lib.php');
include_once (api_get_path(LIBRARY_PATH).'groupmanager.lib.php');
include_once (api_get_path(LIBRARY_PATH).'usermanager.lib.php');
include_once (api_get_path(LIBRARY_PATH).'events.lib.inc.php');
//api_block_anonymous_users(); // only users who are logged in can proceed

require '../newscorm/lp_list_search.php';
?>
