Rev | Line | |
---|
[23722] | 1 | <?php |
---|
[4914] | 2 | |
---|
[23722] | 3 | // +-----------------------------------------------------------------------+ |
---|
| 4 | |
---|
| 5 | // | PiwiShack - a Piwigo Plugin | |
---|
| 6 | |
---|
| 7 | // | Copyright (C) 2009 MOREAU Julien - gotcha@piwigo.org | |
---|
| 8 | |
---|
| 9 | // +-----------------------------------------------------------------------+ |
---|
| 10 | |
---|
| 11 | // | This program is free software; you can redistribute it and/or modify | |
---|
| 12 | |
---|
| 13 | // | it under the terms of the GNU General Public License as published by | |
---|
| 14 | |
---|
| 15 | // | the Free Software Foundation | |
---|
| 16 | |
---|
| 17 | // | | |
---|
| 18 | |
---|
| 19 | // | This program is distributed in the hope that it will be useful, but | |
---|
| 20 | |
---|
| 21 | // | WITHOUT ANY WARRANTY; without even the implied warranty of | |
---|
| 22 | |
---|
| 23 | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
---|
| 24 | |
---|
| 25 | // | General Public License for more details. | |
---|
| 26 | |
---|
| 27 | // | | |
---|
| 28 | |
---|
| 29 | // | You should have received a copy of the GNU General Public License | |
---|
| 30 | |
---|
| 31 | // | along with this program; if not, write to the Free Software | |
---|
| 32 | |
---|
| 33 | // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | |
---|
| 34 | |
---|
| 35 | // | USA. | |
---|
| 36 | |
---|
| 37 | // +-----------------------------------------------------------------------+ |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | // Recursive call |
---|
| 42 | |
---|
| 43 | $url = '../'; |
---|
| 44 | |
---|
| 45 | header( 'Request-URI: '.$url ); |
---|
| 46 | |
---|
| 47 | header( 'Content-Location: '.$url ); |
---|
| 48 | |
---|
| 49 | header( 'Location: '.$url ); |
---|
| 50 | |
---|
| 51 | exit(); |
---|
| 52 | |
---|
[6794] | 53 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.