diff options
| author | polo <ordipolo@gmx.fr> | 2026-11-19 19:54:55 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-11-19 19:54:55 +0100 |
| commit | 1b7dab5fb2c7c3995b0d7438e1a99e9e8ddb852d (patch) | |
| tree | 74fbdeb83470f0b4a01e36c37d2fec67450dde32 /index.php | |
| parent | 07e3ef46e92c862d052c872f70b5bcfb57363703 (diff) | |
| download | rustdesk-scripts-master.tar.gz rustdesk-scripts-master.tar.bz2 rustdesk-scripts-master.zip | |
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 15 |
1 files changed, 7 insertions, 8 deletions
| @@ -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>'; |
| 14 | foreach($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'; |
