فهرست منبع

[svn r14712] Minor - Updated code header
Minor - Updated error message to show HTML headers

Yannick Warnier 17 سال پیش
والد
کامیت
d4162eb6c3
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      main/user/userInfo.php

+ 4 - 4
main/user/userInfo.php

@@ -1,9 +1,9 @@
-<?php
+<?php // $Id: userInfo.php 14712 2008-04-01 19:56:23Z yannoo $
 /*
 /*
 ==============================================================================
 ==============================================================================
 	Dokeos - elearning and course management software
 	Dokeos - elearning and course management software
 
 
-	Copyright (c) 2004 Dokeos S.A.
+	Copyright (c) 2004-2008 Dokeos S.A.
 	Copyright (c) 2003 hent University (UGent)
 	Copyright (c) 2003 hent University (UGent)
 	Copyright (c) 2001 Universite catholique de Louvain (UCL)
 	Copyright (c) 2001 Universite catholique de Louvain (UCL)
 	Copyright (c) various contributors
 	Copyright (c) various contributors
@@ -18,7 +18,7 @@
 
 
 	See the GNU General Public License for more details.
 	See the GNU General Public License for more details.
 
 
-	Contact: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
+	Contact: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium, info@dokeos.com
 ==============================================================================
 ==============================================================================
 */
 */
 /**
 /**
@@ -52,7 +52,7 @@ require_once (api_get_path(LIBRARY_PATH).'usermanager.lib.php');
 $this_section = SECTION_COURSES;
 $this_section = SECTION_COURSES;
 
 
 $nameTools = get_lang("Users");
 $nameTools = get_lang("Users");
-api_protect_course_script();
+api_protect_course_script(true);
 if(api_is_anonymous())
 if(api_is_anonymous())
 {
 {
 	api_not_allowed(true);
 	api_not_allowed(true);