aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 14:05:49 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 14:05:49 +0200
commit1c5476e68cc0d43b534521ea3e647bbe0d7e86df (patch)
treea4fd963d41b81b10ab8b32fb8e963a13ce904482
parent3909f0306619241b46848bcab602a22103fa15ba (diff)
downloadfileup-1c5476e68cc0d43b534521ea3e647bbe0d7e86df.tar.gz
drop table order
-rw-r--r--php/upload.php2
-rw-r--r--sql/fileshare.sql4
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;