diff options
| author | polo <ordipolo@gmx.fr> | 2026-11-16 13:44:19 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-11-16 13:44:19 +0100 |
| commit | 2e77a552dcccd05be5d7e03673ca7e5b80c97676 (patch) | |
| tree | 954a3532fece0b8b107ce451d6f03d81beaf5319 /index.php | |
| download | rustdesk-scripts-2e77a552dcccd05be5d7e03673ca7e5b80c97676.tar.gz rustdesk-scripts-2e77a552dcccd05be5d7e03673ca7e5b80c97676.tar.bz2 rustdesk-scripts-2e77a552dcccd05be5d7e03673ca7e5b80c97676.zip | |
nouveau dépôt sans les clients, lancer curl.php après clonage du dépôt
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/index.php b/index.php new file mode 100644 index 0000000..1b9e811 --- /dev/null +++ b/index.php | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | <?php | ||
| 2 | $os = [ | ||
| 3 | 'win' => 'Windows', | ||
| 4 | 'linux' => [ | ||
| 5 | 'deb' => 'Debian, Ubuntu, Linux Mint', | ||
| 6 | 'arch' => 'Archlinux, Manjaro' | ||
| 7 | ] | ||
| 8 | ]; | ||
| 9 | |||
| 10 | $win_link = '<a href="download.php?os=win">Installateur</a>'; | ||
| 11 | $win_uninstall = '<a href="download.php?os=win_uninstall">Désinstallateur</a>'; | ||
| 12 | |||
| 13 | $lin_links = ''; | ||
| 14 | foreach($os['linux'] as $key => $value){ | ||
| 15 | $lin_links .= '<p><a href="download.php?os=' . $key . '">' . $value . '</a></p>'; | ||
| 16 | } | ||
| 17 | |||
| 18 | // pour matomo | ||
| 19 | $domain = 'remote.ordipolo.fr'; | ||
| 20 | |||
| 21 | require 'template.php'; | ||
