@ -5,9 +5,7 @@
* @package chamilo.main
* @package chamilo.main
*/
*/
use \ChamiloSession as Session;
use \ChamiloSession as Session;
define('CHAMILO_HOMEPAGE', true);
define('CHAMILO_HOMEPAGE', true);
$language_file = array('courses', 'index', 'userInfo');
$language_file = array('courses', 'index', 'userInfo');
@ -16,6 +14,9 @@ $language_file = array('courses', 'index', 'userInfo');
// Maybe we should change this into an api function? an example: CourseManager::unset();
// Maybe we should change this into an api function? an example: CourseManager::unset();
$cidReset = true;
$cidReset = true;
// Set cookie for check if client browser are cookies enabled
setcookie('TestCookie', 'cookies_yes', time()+3600*24*31*12);
require_once 'main/inc/global.inc.php';
require_once 'main/inc/global.inc.php';
require_once api_get_path(LIBRARY_PATH).'userportal.lib.php';
require_once api_get_path(LIBRARY_PATH).'userportal.lib.php';
require_once 'main/chat/chat_functions.lib.php';
require_once 'main/chat/chat_functions.lib.php';
@ -42,9 +43,6 @@ $htmlHeadXtra[] ='
});
});
< / script > ';
< / script > ';
//set cookie for check if client browser are cookies enabled
setcookie('TestCookie', 'cookies_yes', time()+3600*24*31*12);
$controller = new IndexManager($header_title);
$controller = new IndexManager($header_title);
//Actions
//Actions