Indentation - php-cs-fixer
This commit is contained in:
parent
43f4052d86
commit
7c99fdff86
1 changed files with 35 additions and 33 deletions
|
|
@ -32,6 +32,7 @@ if(!empty($_GET['url'])) {
|
||||||
|
|
||||||
if (empty($findfiles)) {
|
if (empty($findfiles)) {
|
||||||
$content = 'No files.';
|
$content = 'No files.';
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
} elseif (count($findfiles) > 1) {
|
} elseif (count($findfiles) > 1) {
|
||||||
foreach ($findfiles as $file) {
|
foreach ($findfiles as $file) {
|
||||||
|
|
@ -43,6 +44,7 @@ if(!empty($_GET['url'])) {
|
||||||
$fullfilepath = current($findfiles);
|
$fullfilepath = current($findfiles);
|
||||||
|
|
||||||
header('Location:'.file_get_contents($fullfilepath));
|
header('Location:'.file_get_contents($fullfilepath));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
$content = '<form method="get">
|
$content = '<form method="get">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue