mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-09 15:26:46 +02:00
Refactor PHP init code.
This commit is contained in:
@@ -19,11 +19,6 @@ class Bootstrap {
|
|||||||
|
|
||||||
public static function setup() {
|
public static function setup() {
|
||||||
|
|
||||||
if (defined("NAME")) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// MISC
|
// MISC
|
||||||
putenv("LANG=en_US.UTF-8");
|
putenv("LANG=en_US.UTF-8");
|
||||||
setlocale(LC_CTYPE, "en_US.UTF-8");
|
setlocale(LC_CTYPE, "en_US.UTF-8");
|
||||||
|
Reference in New Issue
Block a user