CSP bug in install script

https://github.com/FreshRSS/FreshRSS/issues/1075
This commit is contained in:
Alexandre Alapetite
2016-02-28 00:08:57 +01:00
parent ffe38c930b
commit 995cf58d24
2 changed files with 2 additions and 2 deletions

View File

@@ -829,7 +829,6 @@ case 5:
<title><?php echo _t('install.title'); ?></title>
<link rel="stylesheet" href="../themes/base-theme/template.css?<?php echo @filemtime(PUBLIC_PATH . '/themes/base-theme/template.css'); ?>" />
<link rel="stylesheet" href="../themes/Origine/origine.css?<?php echo @filemtime(PUBLIC_PATH . '/themes/Origine/origine.css'); ?>" />
<script src="../scripts/install.js?<?php echo @filemtime(PUBLIC_PATH . '/scripts/install.js'); ?>"></script>
<meta name="robots" content="noindex,nofollow" />
</head>
<body>
@@ -877,5 +876,6 @@ case 5:
?>
</div>
</div>
<script src="../scripts/install.js?<?php echo @filemtime(PUBLIC_PATH . '/scripts/install.js'); ?>"></script>
</body>
</html>

View File

@@ -42,7 +42,7 @@ function auth_type_change() {
var auth_type = document.getElementById('auth_type');
if (auth_type) {
auth_type_change();
auth_type_change.addEventListener('change', auth_type_change);
auth_type.addEventListener('change', auth_type_change);
}
function mySqlShowHide() {