﻿file = r'.env'
with open(file, 'r', encoding='utf-8') as f:
    c = f.read()

c = c.replace('SESSION_DRIVER=database', 'SESSION_DRIVER=file')
c = c.replace('CACHE_STORE=database', 'CACHE_STORE=file')

with open(file, 'w', encoding='utf-8') as f:
    f.write(c)
print("OK!")
