mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
* charset header for lang js
This commit is contained in:
parent
a3dd5e36ec
commit
0a9955d2a4
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ require_once(MTTPATH. 'db/config.php');
|
|||
require_once(MTTPATH. 'lang/class.default.php');
|
||||
require_once(MTTPATH. 'lang/'. $config['lang']. '.php');
|
||||
|
||||
header('Content-type: text/javascript');
|
||||
header('Content-type: text/javascript; charset=utf-8');
|
||||
echo "mytinytodo.lang.init(". Lang::instance()->makeJS() .");";
|
||||
|
||||
?>
|
||||
Loading…
Reference in a new issue