[英]Why is $helper->getSessionFromRedirect() always returning NULL?
[英]_helper->redirector, imagepaths lost
我正在使用以下幫助程序重定向到書架控制器的索引操作。
$urlOptions = array('controller'=>'bibliothek', 'action'=>'index');
$this->_helper->redirector->gotoRoute($urlOptions);
它有效,但是:表單中的圖像丟失了,我使用了一些圖標,例如:
<img src="Images/Icons/plus.jpg" ...
那么如何使用相對路徑呢? 我該如何解決?
我找到了解決方案並將baseurl添加到我的layout.phtml baseUrl()。'/'; ?>“ /> –
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.