Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff52d98

Browse files
committed
Merge branch '4.2'
* 4.2: Fix the example about overriding the getProjectDir method
2 parents f329f10 + 29e6ac8 commit ff52d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ kernel and return your project's root directory::
236236

237237
public function getProjectDir()
238238
{
239-
return __DIR__.'/..';
239+
return dirname(__DIR__);
240240
}
241241
}
242242

0 commit comments

Comments
 (0)