 
            controllers/backend/common.php
class Controller_Common extends Controller_Template{
//something goes here
}
again another classclass Post extends Controller_Common{
}
ErrorException [ Error ]: Class 'Controller_Backend' not found
but it works fine when i am not using this inside subdirectory(i.e.)class Post extends Controller_Common{ 
 public function __construct() {
        parent::__construct();
    }
    
    function action_index(){
        $this->template->title="Welcome Admin";
        $this->template->content=View::factory('admin/index');
    }
}
ErrorException [ Error ]: Call to a member function body() on a non-object
COREPATH/classes/controller/template.php @ line 56
		class Controller_Post extends Controller_Common {
    // Code here.
}
it helped to know me about many things
 
		It looks like you're new here. If you want to get involved, click one of these buttons!