Possible fix recommend by Rudloff
This commit is contained in:
parent
bb6e2805f3
commit
404935be05
3 changed files with 6 additions and 6 deletions
|
@ -14,7 +14,7 @@
|
||||||
"guzzlehttp/guzzle": "~6.2.0",
|
"guzzlehttp/guzzle": "~6.2.0",
|
||||||
"rudloff/rtmpdump-bin": "~2.3",
|
"rudloff/rtmpdump-bin": "~2.3",
|
||||||
"aura/session": "~2.1.0",
|
"aura/session": "~2.1.0",
|
||||||
"smarty-gettext/smarty-gettext": "~1.2.0"
|
"smarty-gettext/smarty-gettext": "~1.5.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/var-dumper": "~3.2.0",
|
"symfony/var-dumper": "~3.2.0",
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
$language = "zh_CN";
|
||||||
|
putenv("LANG=".$language);
|
||||||
|
setlocale(LC_ALL, $language);
|
||||||
|
|
||||||
require_once __DIR__.'/vendor/autoload.php';
|
require_once __DIR__.'/vendor/autoload.php';
|
||||||
use Alltube\Config;
|
use Alltube\Config;
|
||||||
use Alltube\Controller\FrontController;
|
use Alltube\Controller\FrontController;
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
{locale path="Translations" domain="AllTube"}
|
{locale path="Translations" domain="AllTube"}
|
||||||
<?php
|
|
||||||
$language = "zh_CN";
|
|
||||||
putenv("LANG=".$language);
|
|
||||||
setlocale(LC_ALL, $language);
|
|
||||||
?>
|
|
||||||
<!Doctype HTML>
|
<!Doctype HTML>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
|
Loading…
Reference in a new issue