This commit is contained in:
adrien committed 2025-05-19 15:02:20 +02:00
1 parent e988e09b7f
commit 2efdbb339a
1 file changed
+2
+2
View File
@@ -1,4 +1,6 @@
<?php
setlocale(LC_CTYPE, "fr_FR.UTF-8");
$basedir = __DIR__ . "/confs/";
$path = escapeshellcmd(realpath($basedir . $_GET["switch"]));
if (substr($path, -4) != ".cfg") {