locale
This commit is contained in:
parent
e988e09b7f
commit
2efdbb339a
2
show.php
2
show.php
@ -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") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user