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",
|
||||
"rudloff/rtmpdump-bin": "~2.3",
|
||||
"aura/session": "~2.1.0",
|
||||
"smarty-gettext/smarty-gettext": "~1.2.0"
|
||||
"smarty-gettext/smarty-gettext": "~1.5.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/var-dumper": "~3.2.0",
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<?php
|
||||
|
||||
|
||||
$language = "zh_CN";
|
||||
putenv("LANG=".$language);
|
||||
setlocale(LC_ALL, $language);
|
||||
|
||||
require_once __DIR__.'/vendor/autoload.php';
|
||||
use Alltube\Config;
|
||||
use Alltube\Controller\FrontController;
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{locale path="Translations" domain="AllTube"}
|
||||
<?php
|
||||
$language = "zh_CN";
|
||||
putenv("LANG=".$language);
|
||||
setlocale(LC_ALL, $language);
|
||||
?>
|
||||
<!Doctype HTML>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
|
Loading…
Reference in a new issue