update liscense file

This commit is contained in:
Aung Myo
2018-02-13 10:53:29 +06:30
parent a62e1bae4c
commit 5854bd88e1

View File

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