Add License

This commit is contained in:
San Wai Lwin
2018-02-21 14:42:09 +06:30
parent 8c0f379a4f
commit f93f7a0a2c

View File

@@ -36,13 +36,13 @@ class ApplicationController < ActionController::Base
# redirect_to root_url(:host => request.domain) + "store_error" # redirect_to root_url(:host => request.domain) + "store_error"
render :json => [{ status: false, message: 'Invalid Access!'}] render :json => [{ status: false, message: 'Invalid Access!'}]
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