diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-09-27 16:20:57 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-09-27 20:33:58 +0200 |
commit | c9e93b8084e45d6773e57932165739738c075889 (patch) | |
tree | 2fcc8cb18c0161c1990fe6fa3d8f3dfdb83bbcfe /lib/private/legacy | |
parent | d9842314586c8f19c5c2e763b8e142aa00bd5469 (diff) | |
download | nextcloud-server-c9e93b8084e45d6773e57932165739738c075889.tar.gz nextcloud-server-c9e93b8084e45d6773e57932165739738c075889.zip |
Compile contactmenu handlebars templates
Fixes #11029
For https://github.com/orgs/nextcloud/projects/18
Ship the compiled handlebars templates. This makes it possible to have a
scricter CSP.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/template.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/template.php b/lib/private/legacy/template.php index 1505089d561..9c7da75e5fd 100644 --- a/lib/private/legacy/template.php +++ b/lib/private/legacy/template.php @@ -124,6 +124,7 @@ class OC_Template extends \OC\Template\Base { OC_Util::addScript('files/fileinfo'); OC_Util::addScript('files/client'); OC_Util::addScript('contactsmenu'); + OC_Util::addScript('contactsmenu_templates'); if (\OC::$server->getConfig()->getSystemValue('debug')) { // Add the stuff we need always |