aboutsummaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-21 17:27:45 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-21 17:27:45 +0100
commitb23cafb9bbaccb62cb8eed4484a1753c2cebb936 (patch)
tree63757ba13a0db17102523e6e74b4abe180c4c878 /app/layout/layout.phtml
parent58974f55a4bdfc8aed3454762415c8e8ac9fc6a4 (diff)
parent264d05297c72e87b114a8e930db7eae7affe5690 (diff)
Merge branch 'CSP-no-inline' into dev
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 7d718efbd..99a3717bc 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -8,6 +8,9 @@
<meta name="viewport" content="initial-scale=1.0" />
<?php echo self::headTitle(); ?>
<?php echo self::headStyle(); ?>
+ <script id="jsonVars" type="application/json">
+<?php $this->renderHelper('javascript_vars'); ?>
+ </script>
<?php echo self::headScript(); ?>
<?php
$url_base = Minz_Request::currentRequest();