mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-01 20:59:14 -04:00
AbsolutePaths: written findEtherpadRoot()
This is just a function (with an ugly side effect for caching purposes) that heuristically tries to compute the Etherpad installation path when running under Unix and win32 (they have different file system layouts). This path can be used by Etherpad as a base for all the relative paths, in order to be deterministic and not depending on cwd.
This commit is contained in:
parent
cbce3c1b08
commit
b1a0e14ee2
2 changed files with 66 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
|||
"etherpad-yajsml": "0.0.2",
|
||||
"express": "4.16.3",
|
||||
"express-session": "1.15.6",
|
||||
"find-root": "1.1.0",
|
||||
"formidable": "1.2.1",
|
||||
"graceful-fs": "4.1.3",
|
||||
"jsonminify": "0.4.1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue