title: Code Igniter doesn't recognize my function in controller under a folder
body: <p>I have a folder under my main controller-folder called admin, in that controller i have a file name admin.php which has a function xyz.</p>
  
  <p>I want to access that function using this url </p>
  
  <p><code>http://localhost/webroot/admin/xyz</code></p>
  
  <p>However when I try to access it, it is giving me this error.</p>
  
  <pre><code>404 Page Not Found
  
  The page you requested was not found.
  </code></pre>
  
  <p>this is code of my routes.php file</p>
  
  <pre><code>$default_controller = "welcome";
  $controller_exceptions = array('welcome','forum');
  $route['default_controller'] = $default_controller;
  $route["^((?!\b".implode('\b|\b', $controller_exceptions)."\b).*)$"] = $default_controller.'/$1';
  $route['404_override'] = '';
  $route['admin'] = "admin/admin";
  </code></pre>
  
  <p>This is my .htaccess file</p>
  
  <pre><code> RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule .* index.php/$0 [PT,L]  
  </code></pre>
  
  <p>Also mod-rewrite is enabled :)</p>
  
  <p>Please let me know why is it not working and how can i make it work. Any kind of help is really appreciated. Thanks</p>