mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 12:34:47 -04:00
Refactor PHP init code.
This commit is contained in:
parent
b94530b93d
commit
f1c87b4230
1 changed files with 0 additions and 5 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue