php - Accessing image file uploaded in app folder from URL in Symfony -
i have uploaded image files under "app/upload"
directory of symfony2
.
and have defined domain root "web
" directory in vhosts
.
how have access images browser's address bar, like, "my-domain.loc/app_dev.php/upload/img-001.jpg"?
you not, publicly accessible should in web directory not app directory.
source: http://symfony.com/doc/current/quick_tour/the_architecture.html#the-web-directory
Comments
Post a Comment