Commit 391b5fd25266d069180960baf912fea4a87abf0d

Authored by Karpikau Andrei
1 parent 08157468

change version

@@ -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###"/>', '')
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.91" 2 + VERSION = "0.0.92"
3 end 3 end