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

Skip to content

Commit 36399b5

Browse files
committed
minor #11232 Fix the example about overriding the getProjectDir method (stof)
This PR was merged into the 3.4 branch. Discussion ---------- Fix the example about overriding the getProjectDir method This method must return the canonical path for things to work fine everywhere. Commits ------- d2e3e6b Fix the example about overriding the getProjectDir method
2 parents 735ef0a + d2e3e6b commit 36399b5

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
@@ -231,7 +231,7 @@ kernel and return your project's root directory::
231231

232232
public function getProjectDir()
233233
{
234-
return __DIR__.'/..';
234+
return dirname(__DIR__);
235235
}
236236
}
237237

0 commit comments

Comments
 (0)