[PR #46] [MERGED] Prepend environment path to database path #501

Closed
opened 2026-02-25 23:34:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/46
Author: @AbeEstrada
Created: 3/6/2018
Status: Merged
Merged: 3/9/2018
Merged by: @RadhiFadlillah

Base: masterHead: patch-1


📝 Commits (2)

  • 61fbe8f Prepend environment path to database path
  • c79b117 Add filename if ENV_SHIORI_DB is directory

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 main.go (+6 -0)

📄 Description

This fixes an error when the ENV_SHIORI_DB is defined, it doesn't open a database file because the database file name isn't on the databasePath variable.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-shiori/shiori/pull/46 **Author:** [@AbeEstrada](https://github.com/AbeEstrada) **Created:** 3/6/2018 **Status:** ✅ Merged **Merged:** 3/9/2018 **Merged by:** [@RadhiFadlillah](https://github.com/RadhiFadlillah) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`61fbe8f`](https://github.com/go-shiori/shiori/commit/61fbe8fc8ccb2fc2be92b0547afa250b3df44035) Prepend environment path to database path - [`c79b117`](https://github.com/go-shiori/shiori/commit/c79b117ddb5cf0161be7724e1b272ae5ffd6f4fc) Add filename if ENV_SHIORI_DB is directory ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `main.go` (+6 -0) </details> ### 📄 Description This fixes an error when the `ENV_SHIORI_DB` is defined, it doesn't open a database file because the database file name isn't on the `databasePath` variable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:34:32 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#501
No description provided.