f67500d333854b7e4b6b6cf0124b6d147c0dbeec
[atutor.git] / mods / patcher / patch_create.php
1 <?php\r
2 /************************************************************************/\r
3 /* ATutor                                                                                                                               */\r
4 /************************************************************************/\r
5 /* Copyright (c) 2002-2008 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/\r
6 /* Adaptive Technology Resource Centre / University of Toronto                  */\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: index_admin.php 7208 2008-03-13 16:07:24Z cindy $\r
14 \r
15 define('AT_INCLUDE_PATH', '../../include/');\r
16 require (AT_INCLUDE_PATH.'vitals.inc.php');\r
17 admin_authenticate(AT_ADMIN_PRIV_PATCHER);\r
18 \r
19 // URL called by form action\r
20 $url = dirname($_SERVER['PHP_SELF']) . "/patch_creator.php";\r
21 \r
22 require ('patch_edit_interface.tmpl.php');\r
23 ?>\r