AC_4897, AC_4898, AC_4899: Multifile uploader fixes.
[acontent.git] / home / create_course.php
1 <?php
2 /************************************************************************/
3 /* AContent                                                             */
4 /************************************************************************/
5 /* Copyright (c) 2010                                                   */
6 /* Inclusive Design Institute                                           */
7 /*                                                                      */
8 /* This program is free software. You can redistribute it and/or        */
9 /* modify it under the terms of the GNU General Public License          */
10 /* as published by the Free Software Foundation.                        */
11 /************************************************************************/
12
13 define('TR_INCLUDE_PATH', '../include/');
14 require(TR_INCLUDE_PATH.'vitals.inc.php');
15 require_once(TR_INCLUDE_PATH.'classes/Utility.class.php');
16
17 // make sure the user has author privilege
18 Utility::authenticate(TR_PRIV_ISAUTHOR);
19
20 require(TR_INCLUDE_PATH.'header.inc.php');
21 $savant->display('home/create_course.tmpl.php');
22 require(TR_INCLUDE_PATH.'footer.inc.php');
23 ?>