1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Update header.php

Now loading lang.js file.
This commit is contained in:
Gábor
2018-02-27 14:04:35 +01:00
committed by GitHub
parent 15bce75ce5
commit 0afc53f2b2

View File

@@ -83,11 +83,11 @@ function loadJSAddons()
e107::js('footer', '{e_WEB}js/core/admin.jquery.js', 'jquery', 5); // Load all default functions.
e107::js('footer', '{e_WEB}js/core/all.jquery.js', 'jquery', 5); // Load all default functions.
$plUpload = '{e_WEB}js/plupload/i18n/' . e_LAN . '.js';
$plUpload = 'plupload/i18n/' . e_LAN . '.js';
if(e_LAN != 'en' && file_exists(e_WEB_JS . $plUpload))
{
e107::js('footer', $plUpload, 'jquery', 5);
e107::js('core', $plUpload, 'jquery', 5);
}
}