Skip to content

Commit

Permalink
CSP bug in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed Feb 27, 2016
1 parent ffe38c9 commit 995cf58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,6 @@ function printStep5() {
<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>
Expand Down Expand Up @@ -877,5 +876,6 @@ function printStep5() {
?>
</div>
</div>
<script src="../scripts/install.js?<?php echo @filemtime(PUBLIC_PATH . '/scripts/install.js'); ?>"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion p/scripts/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 995cf58

Please sign in to comment.