-
-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace kernel.root_dir by kernel.project_dir #6809
Replace kernel.root_dir by kernel.project_dir #6809
Conversation
@@ -2,16 +2,16 @@ const path = require('path'); | |||
const webpack = require('webpack'); | |||
const StyleLintPlugin = require('stylelint-webpack-plugin'); | |||
|
|||
const rootDir = path.resolve(__dirname, '../../../'); | |||
const projectDir = path.resolve(__dirname, '../../../'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this rename is not needed as it's in the JS, but I did it for consistency with back-end naming
@@ -6,7 +6,7 @@ parameters: | |||
database_name: ${DATABASE_NAME:-symfony} | |||
database_user: ${DATABASE_USER:-root} | |||
database_password: ${DATABASE_PASSWORD:-~} | |||
database_path: '${DATABASE_PATH:-"%kernel.root_dir%/data/db/wallabag.sqlite"}' | |||
database_path: '${DATABASE_PATH:-"%kernel.project_dir%/data/db/wallabag.sqlite"}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like the previous default value was broken as root_dir is the directory where the kernel is, so app/
, while data/
is at the root of the project, not inside app/
3c0a0ca
to
50e9930
Compare
50e9930
to
cc33fcb
Compare
Here the equivalent on the docker repo wallabag/docker#361 |
from https://github.com/symfony/symfony/blob/4.4/UPGRADE-5.0.md#httpkernel