|
Revision 1539, 0.6 kB
(checked in by renato, 10 months ago)
|
Setting prop svn:eol-style in LOTS of files.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
require_once(dirname(dirname(__FILE__))."/../includes.php"); |
|---|
| 7 |
|
|---|
| 8 |
run("files:init"); |
|---|
| 9 |
|
|---|
| 10 |
global $redirect_url; |
|---|
| 11 |
global $messages; |
|---|
| 12 |
global $page_owner; |
|---|
| 13 |
|
|---|
| 14 |
$page_owner = optional_param('files_owner'); |
|---|
| 15 |
$redirect = optional_param('redirection'); |
|---|
| 16 |
|
|---|
| 17 |
if (isset($messages) && sizeof($messages) > 0) { |
|---|
| 18 |
$_SESSION['messages'] = $messages; |
|---|
| 19 |
} |
|---|
| 20 |
|
|---|
| 21 |
if(empty($redirect)){ |
|---|
| 22 |
if (defined('redirect_url')) { |
|---|
| 23 |
header("Location: " . redirect_url); |
|---|
| 24 |
} else { |
|---|
| 25 |
header("Location: " . url); |
|---|
| 26 |
} |
|---|
| 27 |
} |
|---|
| 28 |
else{ |
|---|
| 29 |
header("Location: $redirect"); |
|---|
| 30 |
} |
|---|
| 31 |
?> |
|---|