Showing
2 changed files
with
3 additions
and
1 deletions
| ... | ... | @@ -90,6 +90,8 @@ module Kanjai |
| 90 | 90 | |
| 91 | 91 | def setTemplateContent(page_template, layer, page_data) |
| 92 | 92 | |
| 93 | + $scheme = 'http://' | |
| 94 | + | |
| 93 | 95 | unless current_admin_user |
| 94 | 96 | layer.gsub!('<meta name="csrf-param" content="###CSRF_PARAM###"/>', '') |
| 95 | 97 | layer.gsub!('<meta name="csrf-token" content="###CSRF_TOKEN###"/>', '') | ... | ... |