我正在使用galleymanager擴展來創建圖片庫。目錄結構如下圖所示,Yii框架gallerymanager擴展
protected
...
modules
...
imgManager
中定義的模塊在下面的config/main.php文件,
'imgManager' => array(
'import'=>array('imgManager.*','imgManager.components.*'),
'layout'=>'application.views.layouts.column1',
'upload_directory'=>'gallery_images',
'max_file_number' => '10',//max number of files for bulk upload.
'max_file_size' => '1mb',
),
當我試圖訪問的模塊,如「本地主機/網站/ imgManager 」。我得到下面的錯誤,
Error 404 Unable to resolve the request "<controller>/imgManager".
請幫助