diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js index 2797988b56..5914a34d65 100644 --- a/chrome/content/zotero/xpcom/db.js +++ b/chrome/content/zotero/xpcom/db.js @@ -119,6 +119,12 @@ Zotero.DBConnection = function(dbNameOrPath) { // Public methods // ///////////////////////////////////////////////////////////////// +Zotero.defineProperty(Zotero.DBConnection.prototype, 'path', { + get: function () { + return this._dbPath; + } +}); + /** * Test a read-only connection to the database, throwing any errors that occur