Skip to content

Commit

Permalink
Merge pull request #724 from Pixilib/GaelO2-dev
Browse files Browse the repository at this point in the history
Gael o2 dev
  • Loading branch information
salimkanoun committed Sep 1, 2024
2 parents a76872d + 0d643ea commit e403f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function __construct(

public function deleteDocumentation(string $studyName)
{
$documentations = $this->documentation->where('study_name', $studyName)->withTrashed();
$documentations = $this->documentation->where('study_name', $studyName)->withTrashed()->get();
foreach($documentations as $documentation){
$this->frameworkInterface->deleteFile($documentation['path']);
$documentation->forceDelete();
Expand Down
1 change: 1 addition & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ http {
server_tokens off;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Frame-Options "SAMEORIGIN";

root /var/www/public;
index index.php;
Expand Down

0 comments on commit e403f6a

Please sign in to comment.