aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 12:44:12 +0200
committeradam <adam@>2021-02-12 12:44:12 +0200
commit52e1f82a3952766ed8e5706090eec6fe70efeab3 (patch)
tree5572b17b15c58fc4db948f301a39e8d3f7bad5c4
parentdfcfc5da50c86a936124e820530cb72c93fc1a17 (diff)
downloadfileup-52e1f82a3952766ed8e5706090eec6fe70efeab3.tar.gz
; error
-rw-r--r--php/.database.php.swpbin16384 -> 0 bytes
-rw-r--r--php/.node.php.swpbin12288 -> 0 bytes
-rw-r--r--php/.upload.php.swpbin12288 -> 0 bytes
-rw-r--r--php/node.php14
-rw-r--r--php/upload.php4
-rw-r--r--sql/.fileshare.sql.swpbin12288 -> 0 bytes
6 files changed, 15 insertions, 3 deletions
diff --git a/php/.database.php.swp b/php/.database.php.swp
deleted file mode 100644
index eecacf9..0000000
--- a/php/.database.php.swp
+++ /dev/null
Binary files differ
diff --git a/php/.node.php.swp b/php/.node.php.swp
deleted file mode 100644
index 2046c2b..0000000
--- a/php/.node.php.swp
+++ /dev/null
Binary files differ
diff --git a/php/.upload.php.swp b/php/.upload.php.swp
deleted file mode 100644
index e1fc62b..0000000
--- a/php/.upload.php.swp
+++ /dev/null
Binary files differ
diff --git a/php/node.php b/php/node.php
index b6c3428..3c18519 100644
--- a/php/node.php
+++ b/php/node.php
@@ -1,9 +1,21 @@
<?php
require_once "database.php";
- class Current_Directory
+ 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
+ {
/*an array of the dir_ids taken to reach here*/
public $path;
diff --git a/php/upload.php b/php/upload.php
index bd72b6b..ee4d8fe 100644
--- a/php/upload.php
+++ b/php/upload.php
@@ -1,6 +1,6 @@
<?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"])
{
diff --git a/sql/.fileshare.sql.swp b/sql/.fileshare.sql.swp
deleted file mode 100644
index 963a386..0000000
--- a/sql/.fileshare.sql.swp
+++ /dev/null
Binary files differ