This commit is contained in:
Zoey
2019-06-24 14:23:06 +06:30
parent 88c5dc2144
commit 56b8115ac9
2 changed files with 15 additions and 15 deletions

View File

@@ -21,11 +21,11 @@ class 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