2013-10-31 35 views

回答

4

app/config/view.php

/* 
|-------------------------------------------------------------------------- 
| View Storage Paths 
|-------------------------------------------------------------------------- 
| 
| Most templating systems load templates from disk. Here you may specify 
| an array of paths that should be checked for your views. Of course 
| the usual Laravel view path has already been registered for you. 
| 
*/ 

'paths' => array(__DIR__.'/../views'), 

所以,你可以使用/作爲從被裝載的意見添加自己的路徑。

+0

非常感謝你 – user2929874

+0

@ user2929874,非常歡迎你:-) –

相關問題