ec4eafd13e06057f8f193f9b163bfb0e1b054b27
[atutor.git] / docs / mods / _standard / photos / profile_album.php
1 <?php
2 /***********************************************************************/
3 /* ATutor                                                                                                                          */
4 /***********************************************************************/
5 /* Copyright (c) 2002-2010                                             */
6 /* Inclusive Design Institute                                          */
7 /* http://atutor.ca                                                                                                        */
8 /*                                                                                                                                         */
9 /* This program is free software. You can redistribute it and/or           */
10 /* modify it under the terms of the GNU General Public License             */
11 /* as published by the Free Software Foundation.                                           */
12 /***********************************************************************/
13 // $Id$
14 $_user_location = 'public';
15 define('AT_INCLUDE_PATH', '../../../include/');
16 require (AT_INCLUDE_PATH.'vitals.inc.php');
17
18 //quit if this is not a member
19 if(!(isset($_SESSION['member_id']) && $_SESSION['member_id'] > 0)){
20         $msg->addError('ACCESS_DENIED');
21         header('Location: index.php');
22         exit;
23 }
24
25 include (AT_PA_INCLUDE.'profile_album.inc.php');
26 exit;
27 ?>