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
CI_Controller
CI_Session
MY_Controller
application/core/
application/library