summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/index.php b/index.php
index fc80ef3..2cc5814 100644
--- a/index.php
+++ b/index.php
@@ -1,19 +1,18 @@
1<?php 1<?php
2$os = [ 2$os = [
3 'win' => 'Windows', 3 'win' => 'Windows',
4 'linux' => [ 4 'deb' => 'Debian, Ubuntu, Linux Mint',
5 'deb' => 'Debian, Ubuntu, Linux Mint', 5 'arch' => 'Archlinux, Manjaro'
6 'arch' => 'Archlinux, Manjaro'
7 ]
8]; 6];
9 7
10$win_link = '<a href="download.php?os=win">Installateur</a>'; 8$win_link = '<a href="download.php?os=win">Installateur</a>';
11$win_uninstall = '<a href="download.php?os=win_uninstall">Désinstallateur</a>'; 9$win_uninstall = '<a href="download.php?os=win_uninstall">Désinstallateur</a>';
12 10
13$lin_links = ''; 11$deb_link = '<a href="download.php?os=deb">Installateur</a>';
14foreach($os['linux'] as $key => $value){ 12$deb_uninstall = '<a href="download.php?os=deb_uninstall">Désinstallateur</a>';
15 $lin_links .= '<p><a href="download.php?os=' . $key . '">' . $value . '</a></p>'; 13
16} 14$arch_link = '<a href="download.php?os=arch">Installateur</a>';
15$arch_uninstall = '<a href="download.php?os=arch_uninstall">Désinstallateur</a>';
17 16
18// pour matomo 17// pour matomo
19$domain = 'matomo.ordipolo.fr'; 18$domain = 'matomo.ordipolo.fr';