fix get user data; fix qrcode library
This commit is contained in:
@@ -158,12 +158,6 @@
|
||||
}
|
||||
if (!isset($_REQUEST['secret'])) {
|
||||
if ($username=="") error_die('not authorized', '403 Forbidden');
|
||||
?>
|
||||
<h1>Your Login Data</h2>
|
||||
<pre>
|
||||
<?php print_r($data) ?>
|
||||
</pre>
|
||||
<?php
|
||||
if (isset($_REQUEST['path'])) checkPath($_REQUEST['path']);
|
||||
if (isset($_REQUEST['folder']) && !preg_match('/\//', $_REQUEST['folder'])) {
|
||||
$file = $thumbpath.'/folders/'.$subpath.'/'.$_REQUEST['folder'].'.png';
|
||||
@@ -210,7 +204,7 @@
|
||||
foreach ($secret['elements'] as $f) {
|
||||
checkFile($f);
|
||||
$size += 512 + ceil(filesize($file)/512)*512;
|
||||
$files[] = $file;
|
||||
$files[] = $file;
|
||||
}
|
||||
header('Content-Description: File Transfer');
|
||||
header('Content-Type: application/x-tar');
|
||||
|
Reference in New Issue
Block a user