Commit f3bb32eb authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Modification des proxies pour le module d'Import (sygal)

parent c5621560
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Import/config/module.config.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ return array(
                            ],
                            'constraints' => [
                                'service'       => implode ('|', ["all","these","doctorant","acteur","variable","individu","role"]),
                                'etablissement' => implode ('|', ["UCN","fOO","INSA"]),
                                'etablissement' => implode ('|', ["UCN","fOO","INSA","URN"]),
                            ]
                        ],
                    ],
+5 −4
Changes for module/Import/src/Import/Service/FetcherService.php: 5 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -74,19 +74,19 @@ class FetcherService
    public function getUrl() {
        return $this->url;
    }
    public function setUrl(string $url)     {
    public function setUrl($url)     {
        $this->url = $url;
    }
    public function getUser()     {
        return $this->user;
    }
    public function setUser(string $user)     {
    public function setUser($user)     {
        $this->user = $user;
    }
    public function getPassword()     {
        return $this->password;
    }
    public function setPassword(string $password)    {
    public function setPassword($password)    {
        $this->password = $password;
    }
    public function getCode()    {
@@ -156,7 +156,7 @@ class FetcherService
        ];

        if ($this->proxy !== null) {
            $options['proxy'] = [ $this->proxy ];
            $options['proxy'] =  $this->proxy ;
        } else {
            $options['proxy'] = ['no' => 'localhost'];
        }
@@ -174,6 +174,7 @@ class FetcherService
            $response->setReasonPhrase($e->getCode()." - ".$e->getMessage());
            throw $e;
        }
//        var_dump($response);
        return $response;
    }

ressources/Logos/ED/000-FAKE.png

deleted100644 → 0
−44.7 KiB
Loading image diff...

ressources/Logos/ED/242-EGN.png

deleted100644 → 0
−720 KiB
Loading image diff...

ressources/Logos/ED/497-NBISE.png

deleted100644 → 0
−8.47 KiB
Loading image diff...
Loading