MY_Controller class not found

后端 未结 3 1130
予麋鹿
予麋鹿 2021-01-28 18:43

The main thing i want to solve is to check user session when somebody want to access admin panel. I\'ve created MY_Controller class and placed it in library.

cla         


        
3条回答
  •  清酒与你
    2021-01-28 19:04

    1. You need to extend the CI_Controller class instead of CI_Session
    2. You should place MY_Controller under application/core/ folder instead of application/library

提交回复
热议问题