diff options
author | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-12 14:07:48 +0200 |
---|---|---|
committer | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-12 14:07:48 +0200 |
commit | 10d7e23ca54ca0003e548922d1202f39c841a0db (patch) | |
tree | 1b51e10c4f919034c7ec32395770e5c6a6ce3931 /php | |
parent | 1c5476e68cc0d43b534521ea3e647bbe0d7e86df (diff) | |
parent | 76970dca67894917bdbc4213f4c5df60d0c8dec3 (diff) | |
download | fileup-10d7e23ca54ca0003e548922d1202f39c841a0db.tar.gz |
Merge branch 'master' of https://github.com/alexvitkov/india
Diffstat (limited to 'php')
-rw-r--r-- | php/configuration.php | 4 | ||||
-rw-r--r-- | php/node.php | 3 | ||||
-rw-r--r-- | php/readdir.php | 0 |
3 files changed, 4 insertions, 3 deletions
diff --git a/php/configuration.php b/php/configuration.php index 1ee0a99..313f0ad 100644 --- a/php/configuration.php +++ b/php/configuration.php @@ -17,8 +17,8 @@ $database_name="fileup_testing"; $database_username="outsider"; $database_password="parola123"; $database_location="localhost"; - - $storage_root = "/srv/apache/testing/project/files/"; +/*storage root must be in the webroot*/ +$storage_root = "/srv/apache/testing/project/files/"; } diff --git a/php/node.php b/php/node.php index 3c18519..062da90 100644 --- a/php/node.php +++ b/php/node.php @@ -14,7 +14,8 @@ require_once "database.php"; $this->node_id=$node_id; } } - class Current_Directory + + class Current_Directory extends Node { /*an array of the dir_ids taken to reach here*/ public $path; diff --git a/php/readdir.php b/php/readdir.php new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/php/readdir.php |