mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Revert "L10n: Improve the work of exporting a language to JS with includes"
I got a little confused then, it turned out to be unnecessary
This commit is contained in:
parent
869873d225
commit
54963cfafc
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ final class AboutPresenter extends OpenVKPresenter
|
|||
if(is_null($lg))
|
||||
$this->throwError(404, "Not found", "Language is not found");
|
||||
header("Content-Type: application/javascript");
|
||||
echo "window.lang = " . json_encode(array_unique($localizer->export($lang))) . ";"; // привет хардкод :DDD
|
||||
echo "window.lang = " . json_encode($localizer->export($lang)) . ";"; // привет хардкод :DDD
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue