From 1c5476e68cc0d43b534521ea3e647bbe0d7e86df Mon Sep 17 00:00:00 2001 From: Alex Vitkov Date: Fri, 12 Feb 2021 14:05:49 +0200 Subject: drop table order --- php/upload.php | 2 -- sql/fileshare.sql | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/php/upload.php b/php/upload.php index 0aefefc..01ab6a6 100644 --- a/php/upload.php +++ b/php/upload.php @@ -9,8 +9,6 @@ if (!isset( $_POST["filename"]) || !isset($_FILES["the_file"])) exit(1); } -echo "adsf"; - $file = $_FILES["the_file"]; $filename= $_POST["filename"]; diff --git a/sql/fileshare.sql b/sql/fileshare.sql index b0f1696..0742538 100644 --- a/sql/fileshare.sql +++ b/sql/fileshare.sql @@ -1,8 +1,8 @@ /*BEWARE!*/ -drop table if exists users; -drop table if exists nodes; drop table if exists node_access; +drop table if exists users; drop table if exists node_links; +drop table if exists nodes; -- cgit v1.2.3