remove old readme
[atutor.git] / mods / _core / enrolment / privileges.php
1 <?php\r
2 /************************************************************************/\r
3 /* ATutor                                                                                                                               */\r
4 /************************************************************************/\r
5 /* Copyright (c) 2002-2010                                              */\r
6 /* Inclusive Design Institute                                           */\r
7 /* http://atutor.ca                                                                                                             */\r
8 /*                                                                                                                                              */\r
9 /* This program is free software. You can redistribute it and/or        */\r
10 /* modify it under the terms of the GNU General Public License          */\r
11 /* as published by the Free Software Foundation.                        */\r
12 /************************************************************************/\r
13 // $Id$\r
14 define('AT_INCLUDE_PATH', '../../../include/');\r
15 require (AT_INCLUDE_PATH.'vitals.inc.php');\r
16 \r
17 if (!authenticate(AT_PRIV_ADMIN, true)) {\r
18         $msg->addError('ACCESS_DENIED');\r
19         header('Location: index.php');\r
20         exit;\r
21 }\r
22 \r
23 $course_id = $_SESSION['course_id'];\r
24 \r
25 require(AT_INCLUDE_PATH.'../mods/_core/enrolment/html/privileges.inc.php');\r
26 exit;\r
27 ?>