This repository was archived by the owner on Nov 27, 2020. It is now read-only.
File tree 3 files changed +3
-3
lines changed 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ doctrine:
50
50
charset : UTF8
51
51
# if using pdo_sqlite as your database driver:
52
52
# 1. add the path in parameters.yml
53
- # e.g. database_path: "%kernel.root_dir%/.. /var/data/data.sqlite"
53
+ # e.g. database_path: "%kernel.project_dir% /var/data/data.sqlite"
54
54
# 2. Uncomment database_path in parameters.yml.dist
55
55
# 3. Uncomment next line:
56
56
# path: '%database_path%'
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ parameters:
8
8
database_user: root
9
9
database_password: ~
10
10
# You should uncomment this if you want to use pdo_sqlite
11
- #database_path: '%kernel.root_dir%/.. /var/data/data.sqlite'
11
+ #database_path: '%kernel.project_dir% /var/data/data.sqlite'
12
12
13
13
mailer_transport: smtp
14
14
mailer_host: 127.0.0.1
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public function indexAction(Request $request)
15
15
{
16
16
// replace this example code with whatever you need
17
17
return $ this ->render ('default/index.html.twig ' , [
18
- 'base_dir ' => realpath ($ this ->getParameter ('kernel.root_dir ' ). ' /.. ' ).DIRECTORY_SEPARATOR ,
18
+ 'base_dir ' => realpath ($ this ->getParameter ('kernel.project_dir ' ) ).DIRECTORY_SEPARATOR ,
19
19
]);
20
20
}
21
21
}
You can’t perform that action at this time.
0 commit comments