2016-05-21 7 views
0

私はムー、現在のアプリケーションフォルダの外にビューを配置しているし、ユーザーのためにそこに見るから作業が、管理パネルのためにそれを言うている: Unable to load the requested file: backend/templates/header_assets.phpビューはコールしていませんCodiegniterを使用していますか?

アプリケーションの構造:index.phpの中

-Example.com 
    --application 
    --system 
    --index.php 

-Example.com_views 
--index.php 
--blog.php 
--about.php 
--backend 
    --login.php 
    --dashboard.php 
    --templates 
    --header_assets.php 
    --footer.php 

ビューフォルダの設定:

$view_folder = '../Example.com_views/views'; 
+1

コードを表示 – manniL

答えて

0

あなたはそのようなビューファイルです。

$this->load->view('backend/templates/header_assets'); 
関連する問題