Skip to content
Commit 455bff5c authored by Naoto Kobayashi's avatar Naoto Kobayashi
Browse files

Fix missing setlocale with php 8



When php version = 8, basename('§') does not bug even if LC_ALL is non-UTF-8 locale.
This cause OC_Util::isSetLocaleWorking() to skip setlocale("C.UTF-8").

Fix it by using escapeshellcmd instead of basename.

Signed-off-by: default avatarNaoto Kobayashi <naoto.kobayashi4c@gmail.com>
parent 7071d056
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment