diff options
-rw-r--r-- | php/configuration.php | 8 | ||||
-rw-r--r-- | sql/fileshare.sql | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/php/configuration.php b/php/configuration.php index 6b87508..90face8 100644 --- a/php/configuration.php +++ b/php/configuration.php @@ -3,10 +3,10 @@ $domain_name="localhost"; -$database_name="adam"; -$database_username="adam"; -$database_password="asdfd"; -$database_location="127.0.0.1"; +$database_name="fileup_testing"; +$database_username="outsider"; +$database_password="parola123"; +$database_location="localhost"; diff --git a/sql/fileshare.sql b/sql/fileshare.sql index a079a7f..dfb9010 100644 --- a/sql/fileshare.sql +++ b/sql/fileshare.sql @@ -23,6 +23,7 @@ create table files ( create table access ( file_id int not null, user_id int not null, + can_view boolean not null default true, can_remove boolean not null default false, check (can_view=true or can_remove=true) , |