diff options
| author | root | 2014-03-21 11:56:08 +0100 |
|---|---|---|
| committer | root | 2014-03-21 11:56:08 +0100 |
| commit | 08e945b89d649759f40916877f40044657314d9a (patch) | |
| tree | 6f10dcab815df5ba9c2b6878a73835a147efa07e /www/functions/func_content.php | |
| parent | fe561fa106699a0a2e8e20633efed855c33f85c6 (diff) | |
| download | files.iamfabulous.de-08e945b89d649759f40916877f40044657314d9a.tar.gz | |
If you are loged in, now you can download your files.
Diffstat (limited to 'www/functions/func_content.php')
| -rwxr-xr-x | www/functions/func_content.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/functions/func_content.php b/www/functions/func_content.php index 9500f06..f7c4629 100755 --- a/www/functions/func_content.php +++ b/www/functions/func_content.php @@ -19,6 +19,18 @@ function get_content($db, $file_id, $owner){ $count++; } +/* + var_dump($content); exit; + if($content[0][4] == "FILE"){ + if(!start_file_download($username, $folder_path)){ + echo "False!"; exit; + return false; + } else { + echo "True!"; exit; + return true; + } + } +*/ if(!empty($content)){ return $content; // returns everything listed in the folder which is commited as parameter } else { |
