diff options
| author | Horus3 | 2014-03-17 21:38:36 +0100 |
|---|---|---|
| committer | Horus3 | 2014-03-17 21:38:36 +0100 |
| commit | 6603e80a78ef7b8aa90bd3dce6e24e259f3f622a (patch) | |
| tree | 9bf11d5a17a87fe6655afdb08d641e3c0f6e01f2 /www/functions | |
| parent | ac5891a49fe76808195f0e7bb9856e98ac1aed5a (diff) | |
| download | files.iamfabulous.de-6603e80a78ef7b8aa90bd3dce6e24e259f3f622a.tar.gz | |
Fixed first bug in print_browser() in matters pertaining to func creat_folder. TODO: Get the links right after creating_folder().
Diffstat (limited to 'www/functions')
| -rw-r--r-- | www/functions/func_folder.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/www/functions/func_folder.php b/www/functions/func_folder.php index 376cdd6..7a2233b 100644 --- a/www/functions/func_folder.php +++ b/www/functions/func_folder.php @@ -17,6 +17,8 @@ function create_folder($path, $new_folder_name, $share){ return MKDIR_OWNER; } +// echo "path: ".$path." file_id: ".$file_id." userid: ".$_SESSION['userid']." new_folder_name: ".$new_folder_name." share: ".$share."<br>"; exit; + if($db->exec(" BEGIN TRANSACTION; INSERT INTO files (id, parent, owner, name, folder, size, share, hash) VALUES (Null, " . $file_id . ", " . $_SESSION['userid'] . ", '" . SQLite3::escapeString($new_folder_name) . "', 'DIRECTORY', 0, '" . SQLite3::escapeString($share) . "', ''); |
