aboutsummaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-16 23:53:39 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-16 23:53:39 +0100
commite4a459a6edc40b64cba7845b52f3e90666b2818a (patch)
tree882737a2233bbed5a62dd962addf35ba8f7bf316 /app/layout/layout.phtml
parentad54c6624c3adddc345688f97c80b19dfc523ded (diff)
CSP no inline javascript draft
https://github.com/FreshRSS/FreshRSS/issues/1075
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 1d3afbf71..7d718efbd 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -1,3 +1,6 @@
+<?php
+ FreshRSS::preLayout();
+?>
<!DOCTYPE html>
<html lang="<?php echo FreshRSS_Context::$user_conf->language; ?>" xml:lang="<?php echo FreshRSS_Context::$user_conf->language; ?>">
<head>
@@ -5,9 +8,6 @@
<meta name="viewport" content="initial-scale=1.0" />
<?php echo self::headTitle(); ?>
<?php echo self::headStyle(); ?>
- <script>//<![CDATA[
-<?php $this->renderHelper('javascript_vars'); ?>
- //]]></script>
<?php echo self::headScript(); ?>
<?php
$url_base = Minz_Request::currentRequest();