diff options
author | Alex Vitkov <alexvitkov98@gmail.com> | 2021-01-30 10:19:29 +0200 |
---|---|---|
committer | Alex Vitkov <alexvitkov98@gmail.com> | 2021-01-30 10:19:29 +0200 |
commit | 74f6993d61b6b8d7b120d6b952787ccbe65788ae (patch) | |
tree | afed2f9d74457b3be403189b3b4dfa9614c02633 /php | |
parent | 4417f8f23f949d549b93fe7c7227e134b6df5e9d (diff) | |
download | fileup-74f6993d61b6b8d7b120d6b952787ccbe65788ae.tar.gz |
HTML/CSS for user's filesystem
Diffstat (limited to 'php')
-rw-r--r-- | php/configuration.php | 4 | ||||
-rw-r--r-- | php/upload.php | 1 |
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']; |