license disable

This commit is contained in:
Yan
2017-12-22 17:51:21 +06:30
parent 1ec0754d0d
commit c9f44e5f21

View File

@@ -38,11 +38,11 @@ class ApplicationController < ActionController::Base
end end
else else
# check for license file # check for license file
if check_license # if check_license
current_license(ENV["SX_PROVISION_URL"]) # current_license(ENV["SX_PROVISION_URL"])
else # else
redirect_to activate_path # redirect_to activate_path
end # end
end end
end end