@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | public function handle() |
36 | 36 | { |
37 | 37 | $p_id = $this->user->person_id; // person_id |
38 | - $f_id = 0; // family_id |
|
38 | + $f_id = 0; // family_id |
|
39 | 39 | |
40 | 40 | $tenant = Manager::fromModel($this->user->company(), $this->user); |
41 | 41 | $tenant->connect(); |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | $person = Person::where("child_in_family_id", $this->user->id)->first(); |
49 | 49 | |
50 | 50 | if ($person != null) { |
51 | - $f_id=$person->child_in_family_id; |
|
51 | + $f_id = $person->child_in_family_id; |
|
52 | 52 | } else { |
53 | 53 | $f_id = 0; |
54 | 54 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | // $filePath = 'public/' . $this->file; |
72 | 72 | // $filePath = $manager->storage()->path($filePath); |
73 | 73 | // chmod_r('/home/genealogia/domains/api.genealogia.co.uk/genealogy/storage/tenants/'); |
74 | -exec("chmod -R 0777 ". storage_path('/tenants/')); |
|
74 | +exec("chmod -R 0777 ".storage_path('/tenants/')); |
|
75 | 75 | //exec ("find /home/genealogia/ap -type d -exec chmod 0750 {} +"); |
76 | 76 | //exec ("find /path/to/folder -type f -exec chmod 0644 {} +"); |
77 | 77 | // var_dump($path,'path'); |