开发者

Symfony homepage not displaying image

开发者 https://www.devze.com 2022-12-17 12:11 出处:网络
I created a Symfony project and I can access it from a web browser but it doesn\'t display any images.

I created a Symfony project and I can access it from a web browser but it doesn't display any images.

I get this instead "If yo开发者_StackOverflow社区u see no image in this page, you may need to configure your web server so that it gains access to the symfony_data/web/sf/ directory."


Just create a symbolic link named "sf" in your DocumentRoot that links to SF_DIR/data/web/sf. Hope this helps.


It's trying to load the common images from the symfony installation itself.

To make this work you'll need update your virtual host entry or make a symlink

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号