This commit is contained in:
Myat Zin Wai Maw
2019-05-13 09:33:32 +06:30
parent ae94a72516
commit 66a6e5500c

View File

@@ -19,12 +19,12 @@ class ActionController::Base
render :json => [{ status: false, message: 'Invalid Access!'}]
end
else
# check for license file
# if check_license
# current_license(ENV["SX_PROVISION_URL"])
# else
# redirect_to activate_path
# end
check for license file
if check_license
current_license(ENV["SX_PROVISION_URL"])
else
redirect_to activate_path
end
end
end