From 0490e408cf3aa953e57c5c6669c1803f7ad3b30d Mon Sep 17 00:00:00 2001
From: Okhin <okhin@okhin.fr>
Date: Thu, 10 Jan 2019 11:32:52 +0100
Subject: [PATCH] Iln'y a plus d'URL en fonction de la langue

---
 app/controller/perso.php | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/app/controller/perso.php b/app/controller/perso.php
index ca2e079..5d1c899 100644
--- a/app/controller/perso.php
+++ b/app/controller/perso.php
@@ -175,12 +175,7 @@ class Perso extends Controller
                     Toute l'équipe de La Quadrature du Net
                     ")."\n\n";
                 // Création de l'url d'administration
-                $admin_url = "https://support.laquadrature.net/perso";
-                foreach ($f3->get('languages') as $key => $language) {
-                    if ($f3->get('lang')==$language[1]) {
-                        $admin_url = "https://".$language[0].$f3->get('dev').".laquadrature.net/perso";
-                    }
-                }
+                $admin_url = "https://don.laquadrature.net/perso";
                 // Remplacement des variables par leurs valeurs
                 $fields = array(
                     "PASSWORD" => $pass,
-- 
GitLab