1 | <?php |
---|
2 | |
---|
3 | // +-----------------------------------------------------------------------+ |
---|
4 | |
---|
5 | // | Piwigo - a PHP based photo gallery | |
---|
6 | |
---|
7 | // +-----------------------------------------------------------------------+ |
---|
8 | |
---|
9 | // | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org | |
---|
10 | |
---|
11 | // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | |
---|
12 | |
---|
13 | // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | |
---|
14 | |
---|
15 | // +-----------------------------------------------------------------------+ |
---|
16 | |
---|
17 | // | This program is free software; you can redistribute it and/or modify | |
---|
18 | |
---|
19 | // | it under the terms of the GNU General Public License as published by | |
---|
20 | |
---|
21 | // | the Free Software Foundation | |
---|
22 | |
---|
23 | // | | |
---|
24 | |
---|
25 | // | This program is distributed in the hope that it will be useful, but | |
---|
26 | |
---|
27 | // | WITHOUT ANY WARRANTY; without even the implied warranty of | |
---|
28 | |
---|
29 | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
---|
30 | |
---|
31 | // | General Public License for more details. | |
---|
32 | |
---|
33 | // | | |
---|
34 | |
---|
35 | // | You should have received a copy of the GNU General Public License | |
---|
36 | |
---|
37 | // | along with this program; if not, write to the Free Software | |
---|
38 | |
---|
39 | // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | |
---|
40 | |
---|
41 | // | USA. | |
---|
42 | |
---|
43 | // +-----------------------------------------------------------------------+ |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | // Recursive call |
---|
48 | |
---|
49 | $url = '../'; |
---|
50 | |
---|
51 | header( 'Request-URI: '.$url ); |
---|
52 | |
---|
53 | header( 'Content-Location: '.$url ); |
---|
54 | |
---|
55 | header( 'Location: '.$url ); |
---|
56 | |
---|
57 | exit(); |
---|
58 | |
---|
59 | ?> |
---|