Possible fix recommend by Rudloff

This commit is contained in:
Unknown 2017-05-26 11:38:34 -07:00
parent bb6e2805f3
commit 404935be05
3 changed files with 6 additions and 6 deletions

View File

@ -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",

View File

@ -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;

View File

@ -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>