need to fix license
This commit is contained in:
@@ -46,10 +46,12 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
def current_license(url)
|
||||
@license = License.new(url)
|
||||
if (@license.detail_with_local_file() == true)
|
||||
puts "RUN SAY BYAR"
|
||||
if (@license.detail_with_local_file() == 0)
|
||||
puts "Expired or No License!"
|
||||
elsif (@license.detail_with_local_file() == 2)
|
||||
puts "Expiring! pls, license extend..."
|
||||
else
|
||||
return nil
|
||||
puts "RUN SAY BYAR"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user