This commit is contained in:
Yan
2017-12-01 14:15:06 +06:30
parent 6fc3cdae06
commit 7db4ace7b6
2 changed files with 9 additions and 8 deletions

View File

@@ -145,6 +145,7 @@ class License
end
end
end
return decrypted_line
end
private
@@ -203,7 +204,7 @@ class License
f.write("initial.load.create.first=true\n")
f.write("initial.load.use.extract.job.enabled=true\n")
f.close
byebug
# read from license file
shop_name = read_license("shop_name")
dbhost = read_license("dbhost")
@@ -246,7 +247,7 @@ class License
# if sym_install_status[1] == "false"
# response = { "status": false, "message": "Activation is success but Symmetric service not Installed. \n Please contact code2lab call center!"}
# end
byebug
# Run Sym Service
sym_run_status = check_sym_running(check_sym_proc_str, sym_path)
if sym_run_status

View File

@@ -1,12 +1,12 @@
iv_key: jR+ot8Fuq7KJiqdkV9FHBA==
shop_name: fkVo+T/vrp8n0g6YN0mE2w==
iv_key: E0/gk/s6POeZtUae1QGo8g==
shop_name: R6s4J457+8FD1pycH5vl9g==
email: yanaung.nyein@code2lab.com
telephone: 111111
fax: 111111
address: bitp
dbhost: zq3Nvh5W8jsB2cKjpKk/XQ==
dbschema: RkBK0CqEOqtfV9wCVNuoFA==
dbusername: CN++Xa5WobVgH/7/QKGTiQ==
dbpassword: mYJQZqe/XEtwB6ccOvUbdw==
dbhost: A5OOsy/OEnIoMiqHNgrl8A==
dbschema: YfkMWJWhzPwt8GDFukk3dA==
dbusername: wcWA1CIUTq5NNIqmdAW79A==
dbpassword: I6t1lEqagOTQe1u87YPJJA==
api_token: nGyMizHtoVEFYCjSVEFJuzkxuBJwSsH
app_token: QUdPwSakcsnuVLdfkXgGHhPMiIOcSSfaVwQyA