Welcome Guest, Not a member yet? Register   Sign In
nested controllers

I'm having some trouble trying getting some nested controllers to work.

This is my file struchure:


I can access all the controllers, but for some reason in the clients controller. I can only access two functions.

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Clients extends Controller {

    function Clients()
    function index()
        echo 'index';    
    function display()
        echo 'display';
    function view()
        echo 'view';

I can access the index and display functions, but when I try to get to view funtion it gives me a 404.

Here are the links


No .htaccess file.

Messages In This Thread
nested controllers - by El Forum - 07-14-2008, 01:00 PM
nested controllers - by El Forum - 07-14-2008, 01:18 PM

Theme © iAndrew 2016 - Forum software by © MyBB