summaryrefslogtreecommitdiff
path: root/www/functions/func_content.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions/func_content.php')
-rwxr-xr-xwww/functions/func_content.php12
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 {