mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Fixed in-memory database not being detected (refs #46)
This commit is contained in:
parent
77eaec7ef9
commit
3954583bc5
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ end
|
|||
function sqlite3.start()
|
||||
local uri, file = nil, settings.get("db_file")
|
||||
|
||||
if string.find(file, ":memory:?cache=shared") then
|
||||
if string.find(file, ":memory:%?cache=shared") then
|
||||
uri = file
|
||||
else
|
||||
uri = wolfa_getHomePath()..file
|
||||
|
|
Loading…
Reference in a new issue