This repository was archived by the owner on Jan 29, 2020. It is now read-only.
Commit cc2a36e
committed
Use paths relative to current working directory
Previously, using the construct `__DIR__ . '/../data/' for paths to keys
causes fatal errors immediately when the user does not override the
configuration, and instead uses the default configuration. This is
particularly problematic because the documentation suggests that running
`vendor/bin/generate-oauth2-keys` should be sufficient.
This patch modifies those paths to be relative to the current working
directory, `getcwd() . '/data'`, fixing those issues.1 parent ee102a8 commit cc2a36e
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments