locale
This commit is contained in:
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") {
|
||||||
|
Reference in New Issue
Block a user