mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Correctly require CMS lang files
This commit is contained in:
parent
3cefb2edad
commit
26613dc39e
@ -76,7 +76,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
|
|
||||||
Requirements::css(CMS_DIR . '/css/screen.css');
|
Requirements::css(CMS_DIR . '/css/screen.css');
|
||||||
Requirements::customCSS($this->generatePageIconsCss());
|
Requirements::customCSS($this->generatePageIconsCss());
|
||||||
Requirements::add_i18n_javascript(CMS_DIR . '/javascript/lang', true, true);
|
Requirements::add_i18n_javascript(CMS_DIR . '/javascript/lang', false, true);
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/dist/bundle-lib.js', [
|
Requirements::javascript(CMS_DIR . '/javascript/dist/bundle-lib.js', [
|
||||||
'provides' => [
|
'provides' => [
|
||||||
CMS_DIR . '/javascript/dist/CMSMain.AddForm.js',
|
CMS_DIR . '/javascript/dist/CMSMain.AddForm.js',
|
||||||
|
Loading…
Reference in New Issue
Block a user