[eluser]bogdan3l[/eluser]
If your controller it is exactly like that than you have a problem.
For CodeIgniter 2.0.0 you should have something like this:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Admin extends CI_Controller {
function __construct()
{
parent::__construct();
}
function index()
{
// your code will be here
}
}