|
@@ 2143-2146 (lines=4) @@
|
| 2140 |
|
if ( !$bfs->validate( $path ) ) |
| 2141 |
|
die( "naughty naughty" ); |
| 2142 |
|
|
| 2143 |
|
if ( isset( $_POST['sha1'] ) && $_POST['sha1'] ) |
| 2144 |
|
$sha1 = true; |
| 2145 |
|
else |
| 2146 |
|
$sha1 = false; |
| 2147 |
|
|
| 2148 |
|
if ( isset( $_POST['md5'] ) && $_POST['md5'] ) |
| 2149 |
|
$md5 = true; |
|
@@ 2148-2151 (lines=4) @@
|
| 2145 |
|
else |
| 2146 |
|
$sha1 = false; |
| 2147 |
|
|
| 2148 |
|
if ( isset( $_POST['md5'] ) && $_POST['md5'] ) |
| 2149 |
|
$md5 = true; |
| 2150 |
|
else |
| 2151 |
|
$md5 = false; |
| 2152 |
|
|
| 2153 |
|
if ( isset( $_POST['limit'] ) && $_POST['limit'] ) |
| 2154 |
|
$limit=$_POST['limit']; |
|
@@ 2153-2156 (lines=4) @@
|
| 2150 |
|
else |
| 2151 |
|
$md5 = false; |
| 2152 |
|
|
| 2153 |
|
if ( isset( $_POST['limit'] ) && $_POST['limit'] ) |
| 2154 |
|
$limit=$_POST['limit']; |
| 2155 |
|
else |
| 2156 |
|
$limit = false; |
| 2157 |
|
|
| 2158 |
|
if ( isset( $_POST['offset'] ) && $_POST['offset'] ) |
| 2159 |
|
$offset = $_POST['offset']; |
|
@@ 2158-2161 (lines=4) @@
|
| 2155 |
|
else |
| 2156 |
|
$limit = false; |
| 2157 |
|
|
| 2158 |
|
if ( isset( $_POST['offset'] ) && $_POST['offset'] ) |
| 2159 |
|
$offset = $_POST['offset']; |
| 2160 |
|
else |
| 2161 |
|
$offset = false; |
| 2162 |
|
|
| 2163 |
|
if ( isset( $_POST['recursive'] ) ) |
| 2164 |
|
$recursive = (bool)$_POST['recursive']; |
|
@@ 2163-2166 (lines=4) @@
|
| 2160 |
|
else |
| 2161 |
|
$offset = false; |
| 2162 |
|
|
| 2163 |
|
if ( isset( $_POST['recursive'] ) ) |
| 2164 |
|
$recursive = (bool)$_POST['recursive']; |
| 2165 |
|
else |
| 2166 |
|
$recursive = false; |
| 2167 |
|
|
| 2168 |
|
if ( isset( $_POST['full_list'] ) ) |
| 2169 |
|
$full_list = (bool)$_POST['full_list']; |
|
@@ 2168-2171 (lines=4) @@
|
| 2165 |
|
else |
| 2166 |
|
$recursive = false; |
| 2167 |
|
|
| 2168 |
|
if ( isset( $_POST['full_list'] ) ) |
| 2169 |
|
$full_list = (bool)$_POST['full_list']; |
| 2170 |
|
else |
| 2171 |
|
$full_list = false; |
| 2172 |
|
|
| 2173 |
|
$action_pieces = explode( ':', $_GET['action'] ); |
| 2174 |
|
switch ( array_pop( $action_pieces ) ) { |