experimental: try to get user data

This commit is contained in:
Marc Wäckerlin
2017-02-28 19:13:21 +00:00
parent 68781d4ce4
commit 916e7aa16a
4 changed files with 14 additions and 1 deletions

View File

@@ -158,6 +158,12 @@
}
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';