aboutsummaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
Diffstat (limited to 'php')
-rw-r--r--php/configuration.php4
-rw-r--r--php/upload.php1
2 files changed, 4 insertions, 1 deletions
diff --git a/php/configuration.php b/php/configuration.php
index 89efb2a..a8a7a29 100644
--- a/php/configuration.php
+++ b/php/configuration.php
@@ -8,12 +8,16 @@ if (file_exists("/home/alex")) {
$database_username="alex";
$database_password="lol";
$database_location="127.0.0.1";
+
+ $storage_root = "/home/alex/fileup_storage";
}
else {
$database_name="adam";
$database_username="adam";
$database_password="asdfd";
$database_location="127.0.0.1";
+
+ $storage_root = "/home/adam/fileup_storage";
}
diff --git a/php/upload.php b/php/upload.php
index 93fa778..d9110c7 100644
--- a/php/upload.php
+++ b/php/upload.php
@@ -5,7 +5,6 @@ if (!array_key_exists('uf', $_FILES)) {
exit();
}
-
$file = $_FILES['uf'];