aboutsummaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 13:55:01 +0200
committeradam <adam@>2021-02-12 13:55:01 +0200
commite26ab014a12650b77cc323ee5c0218e68405bfa0 (patch)
tree986281d1d00da58548d5cc55d482785f57c23a5b /php
parent3909f0306619241b46848bcab602a22103fa15ba (diff)
downloadfileup-e26ab014a12650b77cc323ee5c0218e68405bfa0.tar.gz
sql restructure
Diffstat (limited to 'php')
-rw-r--r--php/configuration.php4
-rw-r--r--php/node.php3
2 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;