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