Update sPhone.lua

This commit is contained in:
Ale32bit 2015-10-11 13:09:18 +02:00
parent 62a8b83c14
commit c7c58586ba

View file

@ -512,11 +512,14 @@ end
end end
local function home() local function home()
if not fs.exists("/.sPhone/config/resetDBNews") then --if not fs.exists("/.sPhone/config/resetDBNews") then
sPhone.winOk("We wiped sID Database","for security issues") --sPhone.winOk("We wiped sID Database","for security issues")
local f = fs.open("/.sPhone/config/resetDBNews","w") --local f = fs.open("/.sPhone/config/resetDBNews","w")
f.write("Ignore me") --f.write("Ignore me")
f.close() --f.close()
--end
if fs.exists("/.sPhone/config/resetDBNews") then
fs.delete("/.sPhone/config/resetDBNews")
end end
local function drawHome() local function drawHome()
local function box(x,y,text,bg,colorText,page) local function box(x,y,text,bg,colorText,page)