Created
November 19, 2012 08:04
-
-
Save phpfour/4109518 to your computer and use it in GitHub Desktop.
Symfony2 - path to web directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function getWebDir() | |
{ | |
return $this->getContainer()->get('kernel')->getRootdir() . '/../web/'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment