F diff --git a/index.php b/index.php --- a/index.php +++ b/index.php<html><head><meta charset="utf-8">+ <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon"><title>shady file upload</title> <link rel="stylesheet" type="text/css" href="css/style.css"></head>F diff --git a/php/.database.php.swp b/php/.database.php.swp new file mode 100644B Binary files /dev/null and b/php/.database.php.swp differF diff --git a/php/.node.php.swp b/php/.node.php.swp new file mode 100644B Binary files /dev/null and b/php/.node.php.swp differF diff --git a/php/.upload.php.swp b/php/.upload.php.swp new file mode 100644B Binary files /dev/null and b/php/.upload.php.swp differF diff --git a/php/node.php b/php/node.php --- a/php/node.php +++ b/php/node.php<?phprequire_once "database.php";- class Node- {- public $node_id;- public $is_directory;- public $relative_path;- public $type;- public $name;- public $note;- function __construct($node_id)- {- $this->node_id=$node_id;- }- }class Current_Directory{+ public $node_id;/*an array of the dir_ids taken to reach here*/public $path;F diff --git a/php/upload.php b/php/upload.php --- a/php/upload.php +++ b/php/upload.php<?php- require_once "database.php";- require_once "configuration.php";+ require_once "database.php"+ require_once "configuration.php"- if (!isset( $_POST["filename"]) || !isset($_POST["the_file"]))+ if (!isset( $_POST["filename") || !isset($_POST["the_file"]){http_response_code(400);error_log("someone tried to upload something impropperly");F diff --git a/sql/.fileshare.sql.swp b/sql/.fileshare.sql.swp new file mode 100644B Binary files /dev/null and b/sql/.fileshare.sql.swp differ