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

Skip to content

Commit 29e6ac8

Browse files
committed
Merge branch '3.4' into 4.2
* 3.4: Fix the example about overriding the getProjectDir method
2 parents c0a0a68 + 36399b5 commit 29e6ac8

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)