This commit is contained in:
Adrien MALINGREY 2025-05-19 15:02:20 +02:00
parent e988e09b7f
commit 2efdbb339a

View File

@ -1,4 +1,6 @@
<?php <?php
setlocale(LC_CTYPE, "fr_FR.UTF-8");
$basedir = __DIR__ . "/confs/"; $basedir = __DIR__ . "/confs/";
$path = escapeshellcmd(realpath($basedir . $_GET["switch"])); $path = escapeshellcmd(realpath($basedir . $_GET["switch"]));
if (substr($path, -4) != ".cfg") { if (substr($path, -4) != ".cfg") {