FILEUP



LOG | FILES | OVERVIEW


F diff --git a/php/.database.php.swp b/php/.database.php.swp deleted file mode 100644
B Binary files a/php/.database.php.swp and /dev/null differ
F diff --git a/php/.node.php.swp b/php/.node.php.swp deleted file mode 100644
B Binary files a/php/.node.php.swp and /dev/null differ
F diff --git a/php/.upload.php.swp b/php/.upload.php.swp deleted file mode 100644
B Binary files a/php/.upload.php.swp and /dev/null differ
F diff --git a/php/node.php b/php/node.php --- a/php/node.php +++ b/php/node.php
<?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;
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"])
{
F diff --git a/sql/.fileshare.sql.swp b/sql/.fileshare.sql.swp deleted file mode 100644
B Binary files a/sql/.fileshare.sql.swp and /dev/null differ