Skip to content

Commit e403f6a

Browse files
authored
Merge pull request #724 from Pixilib/GaelO2-dev
Gael o2 dev
2 parents a76872d + 0d643ea commit e403f6a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

GaelO2/app/Console/Commands/GaelODeleteRessourcesRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct(
6262

6363
public function deleteDocumentation(string $studyName)
6464
{
65-
$documentations = $this->documentation->where('study_name', $studyName)->withTrashed();
65+
$documentations = $this->documentation->where('study_name', $studyName)->withTrashed()->get();
6666
foreach($documentations as $documentation){
6767
$this->frameworkInterface->deleteFile($documentation['path']);
6868
$documentation->forceDelete();

nginx.conf

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ http {
5050
server_tokens off;
5151
add_header X-Content-Type-Options "nosniff" always;
5252
add_header X-XSS-Protection "1; mode=block" always;
53+
add_header X-Frame-Options "SAMEORIGIN";
5354

5455
root /var/www/public;
5556
index index.php;

0 commit comments

Comments
 (0)