說我遇到的問題是,layout.phtml的圖像不顯示在行動視圖
當我把這個URL http://localhost/application/public/controller
圖像顯示正確,但當url是(例如)http://localhost/application/public/controller/any-action(even the index action)
圖片layout.phtml不顯示。
我所有的圖像都位於應用程序的public
目錄中。
我不知道這個問題的來源或如何解決它,請幫我
你或許應該建立一個虛擬主機應用程序。你在本地運行什麼樣的服務器? – liz 2012-08-09 16:56:50