0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/data/db
Daniel Lockyer 82a60ae155 Fixed detection of Windows environment when connecting to SQLite temp DB
fixes https://github.com/TryGhost/Toolbox/issues/284

- this section of code rewrites `/tmp` in the SQlite filename to the
  temp dir
- the fix was only intended for Windows environments, because they
  typically don't have a `/tmp` dir
- this commit adds a `process.platform` check for Windows
- it also moves the code into the DB connection file instead of the
  config lib
2022-05-30 17:42:34 -04:00
..
backup.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
connection.js Fixed detection of Windows environment when connecting to SQLite temp DB 2022-05-30 17:42:34 -04:00
index.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
info.js Added library for extracting database information 2022-01-18 09:31:08 +00:00
state-manager.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00