diff options
| author | Horus3 | 2014-03-17 18:03:21 +0100 |
|---|---|---|
| committer | Horus3 | 2014-03-17 18:03:21 +0100 |
| commit | 889f10a8bea7105853ca505223dea1a1df07e0b9 (patch) | |
| tree | e7b85a68bc4239184e47a492a1e0ac0a00b088d6 /www/functions/func_interface.php | |
| parent | 1c8afbfabc15a35f84290ca7320da0e9e373747e (diff) | |
| download | files.iamfabulous.de-889f10a8bea7105853ca505223dea1a1df07e0b9.tar.gz | |
func mkdir
Diffstat (limited to 'www/functions/func_interface.php')
| -rwxr-xr-x | www/functions/func_interface.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/functions/func_interface.php b/www/functions/func_interface.php index 05f8f3b..e6aa3f1 100755 --- a/www/functions/func_interface.php +++ b/www/functions/func_interface.php @@ -1,14 +1,14 @@ <?php -function collect_content($db){ - $owner = user($db, $_GET["name"]); +function collect_content($db,$username, $folder_path){ + $owner = user_id($db, $username); if(!$owner){ failure("This user doesn't exist!"); } - $file_id = select_file_id($db, $owner); - + $file_id = select_file_id($db, $owner, $folder_path); + $content = get_content($db, $file_id, $owner); if(!$content){ |
