class Blog extends CI_Controller { function __construct() { parent::__construct(); // Your own constructor code } }